aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/qp.c
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2014-12-11 10:57:56 +0200
committerDavid S. Miller <davem@davemloft.net>2014-12-11 14:47:35 -0500
commit7a89399ffad7b7c47b43afda010309b3b88538c0 (patch)
tree789d8dd281b3589c555c73b5ec455cab646dad32 /drivers/infiniband/hw/mlx4/qp.c
parentnet/mlx4: Add a check if there are too many reserved QPs (diff)
downloadlinux-dev-7a89399ffad7b7c47b43afda010309b3b88538c0.tar.xz
linux-dev-7a89399ffad7b7c47b43afda010309b3b88538c0.zip
net/mlx4: Add mlx4_bitmap zone allocator
The zone allocator is a mechanism which manages a few mlx4_bitmaps. When allocating a resource, the user indicates the desired zone of which this resource will be allocated from. If possible, the resource will be allocated from this zone. Otherwise, the resource will be allocated from a less-than, equal-to, higher-than priority zone, according to the desired zone's properties with that respective allocation order. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/qp.c')
0 files changed, 0 insertions, 0 deletions