RDMA: Use ib_gid_attr during GID modification
Now that ib_gid_attr contains device, port and index, simplify the provider APIs add_gid() and del_gid() to use device, port and index fields from the ib_gid_attr attributes structure. Signed-off-by:Parav Pandit <parav@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/core/cache.c 2 additions, 3 deletionsdrivers/infiniband/core/cache.c
- drivers/infiniband/hw/bnxt_re/ib_verbs.c 4 additions, 6 deletionsdrivers/infiniband/hw/bnxt_re/ib_verbs.c
- drivers/infiniband/hw/bnxt_re/ib_verbs.h 2 additions, 4 deletionsdrivers/infiniband/hw/bnxt_re/ib_verbs.h
- drivers/infiniband/hw/hns/hns_roce_main.c 9 additions, 11 deletionsdrivers/infiniband/hw/hns/hns_roce_main.c
- drivers/infiniband/hw/mlx4/main.c 12 additions, 18 deletionsdrivers/infiniband/hw/mlx4/main.c
- drivers/infiniband/hw/mlx5/main.c 7 additions, 6 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c 9 additions, 22 deletionsdrivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c
- drivers/infiniband/sw/rxe/rxe_verbs.c 4 additions, 6 deletionsdrivers/infiniband/sw/rxe/rxe_verbs.c
- include/rdma/ib_verbs.h 14 additions, 19 deletionsinclude/rdma/ib_verbs.h
Loading
Please register or sign in to comment