OpenCloudOS-Kernel/drivers/infiniband/hw/mlx5
Sagi Grimberg b636401f0e mlx5: Fix incorrect wc pkey_index assignment for GSI messages
Since patch series "Demux IB CM requests in the rdma_cm module" the
P_Key index is taken from the work completion rather than the message
itself.

The HCA provides us with the message P_Key. In order to provide the
P_Key index, we need to look it up. Given that this is relevant only
for GSI messages (session establishments) which is less performance critical,
micro-optimize against the GSI (is_qp1) branch.

Fixes: 4c21b5bcef ("IB/cma: Add net_dev and private data checks to
RDMA CM")
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-09-03 14:50:06 -04:00
..
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
ah.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.c mlx5: Fix incorrect wc pkey_index assignment for GSI messages 2015-09-03 14:50:06 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Remove ib_get_dma_mr calls 2015-08-30 18:12:34 -04:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h mlx5: Fix incorrect wc pkey_index assignment for GSI messages 2015-09-03 14:50:06 -04:00
mr.c IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow 2015-09-03 14:42:54 -04:00
odp.c net/mlx5_core: New device capabilities handling 2015-05-30 18:23:22 -07:00
qp.c mlx5: Fix incorrect wc pkey_index assignment for GSI messages 2015-09-03 14:50:06 -04:00
srq.c net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0 2015-06-04 16:41:01 -07:00
user.h IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00