linux/drivers/infiniband
Parav Pandit 411460ac50 RDMA/cma: Introduce API to read GIDs for multiple transports
This patch introduces an API that allows legacy applications to query
GIDs for a rdma_cm_id which is used during connection establishment.

GIDs are stored and created differently for iWarp, IB and RoCE transports.
Therefore rdma_read_gids() returns GID for all the transports hiding
such internal details to caller.
It is usable for client side and server side connections.

In general continued use of GID based addressing outside of IB is
discouraged, so rdma_read_gids() should not be used by any new ULPs.

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/cma: Introduce API to read GIDs for multiple transports 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