aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cm.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-06-13 10:22:03 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-18 11:11:26 -0600
commit8d9ec9addd6c492a99d3699212653cba92989767 (patch)
tree3b400cfd82806803c7378cd293a9e2ca1ec11ed2 /drivers/infiniband/core/cm.c
parentIB: Ensure that all rdma_ah_attr's are zero initialized (diff)
downloadlinux-dev-8d9ec9addd6c492a99d3699212653cba92989767.tar.xz
linux-dev-8d9ec9addd6c492a99d3699212653cba92989767.zip
IB/core: Add a sgid_attr pointer to struct rdma_ah_attr
The sgid_attr will ultimately replace the sgid_index in the ah_attr. This will allow for all layers to have a consistent view of what gid table entry was selected as processing runs through all stages of the stack. This commit introduces the pointer and ensures it is set before calling any driver callback that includes a struct ah_attr callback, allowing future patches to adjust both the drivers and the callers to use sgid_attr instead of sgid_index. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
0 files changed, 0 insertions, 0 deletions