linux_dsm_epyc7002/drivers/infiniband
Selvin Xavier 61e0962d52 IB: Avoid ib_modify_port() failure for RoCE devices
IB CM calls ib_modify_port() irrespective of link layer. If the
failure is returned, the mad agent gets unregistered for those
devices. Recently, modify_port() hook was removed from some of the
low level drivers as it was always returning success. This breaks
rdma connection establishment over those devices.
For ethernet devices, Qkey violation and port capabilities are not
applicable. So returning success for RoCE when modify_port hook is
is not implemented.

Cc: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-08-24 17:34:57 -04:00
..
core IB: Avoid ib_modify_port() failure for RoCE devices 2017-08-24 17:34:57 -04:00
hw RDMA/vmw_pvrdma: Update device query parameters and port caps 2017-08-24 17:34:57 -04:00
sw IB/rdmavt, hfi1, qib: Modify check_ah() to account for extended LIDs 2017-08-22 14:22:36 -04:00
ulp IB/ipoib: Enable ioctl for to IPoIB rdma netdevs 2017-08-24 17:34:57 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00