]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit85d9691ccc96d95629939a877fd6c1f8c4724f56
tree03325bdfe51f55708b61046de40e5275f278a6dd
parent5adebafb75bdfbbe4ec69f14c3613e70f6ed7f6f
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: cfb5e088e26a ('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