summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2011-03-22 23:38:48 +0100
committerDavid S. Miller <davem@davemloft.net>2011-03-23 20:24:24 +0100
commit9ace5e0176f165f04537497143506621d33a0139 (patch)
tree4587ba19581862b2de2905f5cf6ea7f610a9d9ae /drivers/net/mlx4/mlx4_en.h
parentmlx4_core: maintain available field in bitmap allocator (diff)
downloadlinux-9ace5e0176f165f04537497143506621d33a0139.tar.xz
linux-9ace5e0176f165f04537497143506621d33a0139.zip
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>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
0 files changed, 0 insertions, 0 deletions