alistair23-linux/drivers/infiniband/hw
Eli Cohen 78c0f98cc9 IB/mlx5: Fix binary compatibility with libmlx5
Commit c1be5232d2 ("Fix micro UAR allocator") broke binary compatibility
between libmlx5 and mlx5_ib since it defines a different value to the number
of micro UARs per page, leading to wrong calculation in libmlx5. This patch
defines struct mlx5_ib_alloc_ucontext_req_v2 as an extension to struct
mlx5_ib_alloc_ucontext_req.  The extended size is determined in mlx5_ib_alloc_ucontext()
and in case of old library we use uuarn 0 which works fine -- this is
acheived due to create_user_qp() falling back from high to medium then to
low class where low class will return 0.  For new libraries we use the
more sophisticated allocation algorithm.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-02-06 23:00:48 -08:00
..
amso1100 RDMA/amso1100: Add check if cache memory was allocated before freeing it 2014-01-22 23:03:59 -08:00
cxgb3 RDMA/cma: Add IPv6 support for iWARP 2013-08-12 12:32:31 -07:00
cxgb4 RDMA/cxgb4: Fix gcc warning on 32-bit arch 2014-01-22 23:07:09 -08:00
ehca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
ipath IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
mlx4 Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
mlx5 IB/mlx5: Fix binary compatibility with libmlx5 2014-02-06 23:00:48 -08:00
mthca IB/core: Ethernet L2 attributes in verbs/cm structures 2014-01-14 14:20:54 -08:00
nes RDMA/nes: Slight optimization of Ethernet address compare 2014-01-22 23:22:26 -08:00
ocrdma Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
qib Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
usnic IB/usnic: Remove unused includes of <linux/version.h> 2014-01-22 23:05:51 -08:00