linux_dsm_epyc7002/drivers/infiniband
Parav Pandit 89838118a5 RDMA/cma: Fix rdma_cm path querying for RoCE
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: 5752075144 ("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>
2018-01-10 22:00:34 -07:00
..
core RDMA/cma: Fix rdma_cm path querying for RoCE 2018-01-10 22:00:34 -07:00
hw IB/mlx5: remove redundant assignment of mdev 2018-01-10 16:52:52 -05:00
sw RDMA/rxe: Fix a race condition related to the QP error state 2018-01-10 16:57:27 -05:00
ulp Merge branch 'bart-srpt-for-next' into k.o/wip/dl-for-next 2018-01-08 16:06:20 -05:00
Kconfig IB: INFINIBAND should depend on HAS_DMA 2017-11-30 16:01:28 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00