aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_av.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-06-13 10:22:07 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-06-18 11:11:27 -0600
commit7492052a186b11be024800eabedef25dcb882613 (patch)
tree4228c2bfd047b3cc6cefe7194e17cd759ebd6f0d /drivers/infiniband/hw/mthca/mthca_av.c
parentRDMA: Convert drivers to use sgid_attr instead of sgid_index (diff)
downloadlinux-dev-7492052a186b11be024800eabedef25dcb882613.tar.xz
linux-dev-7492052a186b11be024800eabedef25dcb882613.zip
IB/mlx4: Use GID attribute from ah attribute
While converting GID index from attribute to that of the HCA, GID attribute is available from the ah_attr. Make use of GID attribute to simplify the code and also avoid avoid GID query. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_av.c')
0 files changed, 0 insertions, 0 deletions