commit | 9ace5e0176f165f04537497143506621d33a0139 | [log] [tgz] |
---|---|---|
author | Eli Cohen <eli@mellanox.co.il> | Tue Mar 22 22:38:48 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 23 12:24:24 2011 -0700 |
tree | 4587ba19581862b2de2905f5cf6ea7f610a9d9ae | |
parent | 42d1e017e2f040c3e3d62b6cfa3a26351a865d04 [diff] |
mlx4_core: reserve UARs for userspace consumers Do not allow a kernel consumer to allocate a UAR to serve for blue flame if the number of available UARs gets below MLX4_NUM_RESERVED_UARS (currently 8). This will allow userspace apps to open a device file and run things like ibv_devinfo. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>