2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/infiniband/hw
Eli Cohen c1be5232d2 IB/mlx5: Fix micro UAR allocator
The micro UAR (uuar) allocator had a bug which resulted from the fact
that in each UAR we only have two micro UARs avaialable, those at
index 0 and 1.  This patch defines iterators to aid in traversing the
list of available micro UARs when allocating a uuar.

In addition, change the logic in create_user_qp() so that if high
class allocation fails (high class means lower latency), we revert to
medium class and not to the low class.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-01-14 13:54:23 -08:00
..
amso1100 IB: Remove unnecessary semicolons 2013-10-14 10:10:00 -07:00
cxgb3 RDMA/cma: Add IPv6 support for iWARP 2013-08-12 12:32:31 -07:00
cxgb4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-12-30 09:33:30 -08:00
ehca treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks 2013-08-20 13:06:40 +02:00
ipath IB/ipath: Convert ipath_user_sdma_pin_pages() to use get_user_pages_fast() 2013-11-08 14:43:11 -08:00
mlx4 Main batch of InfiniBand/RDMA changes for 3.13: 2013-11-18 15:36:04 -08:00
mlx5 IB/mlx5: Fix micro UAR allocator 2014-01-14 13:54:23 -08:00
mthca IB: Remove unnecessary semicolons 2013-10-14 10:10:00 -07:00
nes RDMA/nes: Remove self-assignment from nes_query_qp() 2013-11-09 02:34:27 -08:00
ocrdma RDMA/ocrdma: Remove redundant check in ocrdma_build_fr() 2013-11-08 14:43:06 -08:00
qib Main batch of InfiniBand/RDMA changes for 3.13: 2013-11-18 15:36:04 -08:00