summaryrefslogtreecommitdiff
path: root/net/compat.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-01-18 10:11:18 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-01-19 13:05:38 -0700
commita2e812ea26043b115b310f3aa0cefb9be0fc83d1 (patch)
treec11b19fb500e727a6d9ee776de18e4c17cd97e43 /net/compat.c
parent7a2f64ee4a953c64474a46b10b3b89d55a92c55e (diff)
net/rds: Use rdma_read_gids to read connection GIDs
Use the newly introduced rdma_read_gids() to read the SGID and DGID for the connection which returns GID correctly for RoCE transport as well. rdma_addr_get_dgid() for RoCE for client side connections returns MAC address, instead of DGID. rdma_addr_get_sgid() for RoCE doesn't return correct SGID for IPv6 and when more than one IP address is assigned to the netdevice. Therefore use transport agnostic rdma_read_gids() API provided by rdma_cm module. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions