diff options
author | Haggai Eran <haggaie@mellanox.com> | 2015-10-20 06:53:01 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-20 18:16:51 (GMT) |
commit | ab3964ad2acfbb0dc5414d4c86fa6d8d690f27a1 (patch) | |
tree | 2bc051398f85dcbdd5c1838c205bb84096f733f3 /drivers/infiniband/hw | |
parent | 0174b381caf89443d92c6fe75f725f2bfeba96b6 (diff) | |
download | linux-ab3964ad2acfbb0dc5414d4c86fa6d8d690f27a1.tar.xz |
IB/cma: Use inner P_Key to determine netdev
When discussing the patches to demux ids in rdma_cm instead of ib_cm, it
was decided that it is best to use the P_Key value in the packet headers.
However, the mlx5 and ipath drivers are currently unable to send correct
P_Key values in GMP headers. They always send using a single P_Key that is
set during the GSI QP initialization.
Change the rdma_cm code to look at the P_Key value that is part of the
packet payload as a workaround. Once the drivers are fixed this patch can
be reverted.
Fixes: 4c21b5bcef73 ("IB/cma: Add net_dev and private data checks to
RDMA CM")
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions