]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
IB/mlx4: Use GID attribute from ah attribute
authorParav Pandit <parav@mellanox.com>
Wed, 13 Jun 2018 07:22:07 +0000 (10:22 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:11:27 +0000 (11:11 -0600)
commit7492052a186b11be024800eabedef25dcb882613
tree4228c2bfd047b3cc6cefe7194e17cd759ebd6f0d
parent47ec38666210485de860ab24675acb3d2e7d4954
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>
drivers/infiniband/hw/mlx4/ah.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/qp.c