linux_dsm_epyc7002/drivers/infiniband
Parav Pandit 7a2f64ee4a RDMA/ucma: Use rdma cm API to query GID
Make use of rdma_read_gids() API to read SGID and DGID which returns
correct GIDs for RoCE and other transports.

rdma_addr_get_dgid() for RoCE for client side connections returns MAC
address, instead of DGID.
rdma_addr_get_sgid() for RoCE doesn't return correct SGID for IPv6 and
when more than one IP address is assigned to the netdevice.

Therefore use transport agnostic rdma_read_gids() API provided by rdma_cm
module.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-19 13:05:38 -07:00
..
core RDMA/ucma: Use rdma cm API to query GID 2018-01-19 13:05:38 -07:00
hw RDMA/hns: Remove unnecessary platform_get_resource() error check 2018-01-18 14:49:21 -05:00
sw RDMA/rxe: Fix rxe_qp_cleanup() 2018-01-18 14:49:20 -05:00
ulp IB/srpt: Move the code for parsing struct ib_cm_req_event_param 2018-01-18 14:49:27 -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