linux/drivers/infiniband
Parav Pandit 41ab1cb7d1 RDMA/cma: Introduce and use cma_ib_acquire_dev()
When RDMA CM connect request arrives for IB transport, it already contains
device, port, netdevice (optional).

Instead of traversing all the cma devices, use the cma device already
found by the cma_find_listener() for which a listener id is provided.

iWarp devices doesn't need to derive RoCE GIDs, therefore drop RoCE
specific checks from cma_acquire_dev() and rename it to
cma_iw_acquire_dev().

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-30 19:21:13 -06:00
..
core RDMA/cma: Introduce and use cma_ib_acquire_dev() 2018-09-30 19:21:13 -06:00
hw IB/hfi1: Use VL15 for SM packets 2018-09-30 19:21:12 -06:00
sw IB/rdmavt: Rename check_send_wqe as setup_wqe 2018-09-30 19:21:11 -06:00
ulp IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds 2018-09-30 19:21:12 -06:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00