summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-07-16 11:50:11 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-07-26 18:47:47 +0300
commitcee104334c98dd04e9dd4d9a4fa4784f7f6aada9 (patch)
tree161dad5624ed86258e0609f49c2022c42222f4ee /net
parentd238ca09810a02e9224c698094afda0e8003f419 (diff)
downloadlinux-cee104334c98dd04e9dd4d9a4fa4784f7f6aada9.tar.xz
IB/core: Introduce and use sgid_attr in CM requests
For RoCE, when CM requests are received for RC and UD connections, netdevice of the incoming request is unavailable. Because of that CM requests are always forwarded to init_net namespace. Now that we have the GID attribute available, introduce SGID attribute in incoming CM requests and refer to the netdevice of it. This is similar to existing SGID attribute field in outgoing CM requests for RC and UD transports. 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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions