IB/isert: set rdma cm afonly flag
authorMax Gurtovoy <mgurtovoy@nvidia.com>
Mon, 24 May 2021 08:52:25 +0000 (11:52 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 28 May 2021 23:24:52 +0000 (20:24 -0300)
commit221442ea0f60ae345a33df8b6d22201404f5a987
treeded0c23b7ec153fc2363437e0beaa49fefb52464
parentad215aaea4f9d637f441566cdbbc610e9849e1fa
IB/isert: set rdma cm afonly flag

This will allow both IPv4 and IPv6 sockets to bind a single port at the
same time. Same behaviour is implemented in NVMe/RDMA target.

Link: https://lore.kernel.org/r/20210524085225.29064-1-mgurtovoy@nvidia.com
Reviewed-by: Alaa Hleihel <alaa@nvidia.com>
Reviewed-by: Israel Rukshin <israelr@nvidia.com>
Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/isert/ib_isert.c