]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Avoid using user-index for SRQs
authorMajd Dibbiny <majd@mellanox.com>
Sun, 14 Feb 2016 16:35:51 +0000 (18:35 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 Mar 2016 15:00:03 +0000 (10:00 -0500)
commitc780a9dc25a387573fc0d7bd94bfba662ae9122d
tree03325bdfe51f55708b61046de40e5275f278a6dd
parentf01a36468f65163385d68be273b3cb3ad0159d4d
IB/mlx5: Avoid using user-index for SRQs

Normal SRQs, unlike XRC SRQs, don't have user-index, therefore
avoid verifying it and using it.

Fixes: 91b6df1b30bf ('IB/mlx5: Add CQE version 1 support to user QPs and SRQs')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/srq.c