RDMA/cma: Allow accepting requests for multi port rdma device
authorParav Pandit <parav@mellanox.com>
Sat, 15 Sep 2018 09:07:55 +0000 (12:07 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 1 Oct 2018 01:21:13 +0000 (19:21 -0600)
commit78fb282b150c36269fcecf5d08e6de7117e9f4ab
treebe9fceb884984a34372ccda124088d1f561f6360
parentbfe397c387748a0110708c0aad05a12ed549a3d4
RDMA/cma: Allow accepting requests for multi port rdma device

When IP failover is used between multiple ports of a given rdma device,
allow accepting CM requests from either of the ports.  This is applicable
for IPv4 and IPv6 non link local addressing scheme.

IPv6 link local addresses are bound. IP failover requests for listen
cm_ids bound to specific netdev interfaces cannot be supported.
(Similar to traditional sockets).

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c