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>
Showing
- drivers/infiniband/hw/mlx4/ah.c 1 addition, 3 deletionsdrivers/infiniband/hw/mlx4/ah.c
- drivers/infiniband/hw/mlx4/main.c 6 additions, 14 deletionsdrivers/infiniband/hw/mlx4/main.c
- drivers/infiniband/hw/mlx4/mlx4_ib.h 1 addition, 1 deletiondrivers/infiniband/hw/mlx4/mlx4_ib.h
- drivers/infiniband/hw/mlx4/qp.c 1 addition, 2 deletionsdrivers/infiniband/hw/mlx4/qp.c
Loading
Please register or sign in to comment