summaryrefslogtreecommitdiff
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-01-08 18:04:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-12 13:32:20 +0300
commitcfafed12f459daadbfe17ce049180715aef6dab4 (patch)
treee765e08b866026e8b077510dc3b3a1c84cc232ac /arch/x86/xen
parent15dfb9baba2c8e8d9d92186cb8012a91c0ef897a (diff)
downloadlinux-cfafed12f459daadbfe17ce049180715aef6dab4.tar.xz
RDMA/cma: Fix rdma_cm path querying for RoCE
[ Upstream commit 89838118a515847d3e5c904d2e022779a7173bec ] The 'if' logic in ucma_query_path was broken with OPA was introduced and started to treat RoCE paths as as OPA paths. Invert the logic of the 'if' so only OPA paths are treated as OPA paths. Otherwise the path records returned to rdma_cma users are mangled when in RoCE mode. Fixes: 57520751445b ("IB/SA: Add OPA path record type") Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/xen')
0 files changed, 0 insertions, 0 deletions