OSDN Git Service

RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths
authorParav Pandit <parav@mellanox.com>
Wed, 13 Jun 2018 07:22:09 +0000 (10:22 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 17:11:27 +0000 (11:11 -0600)
commit89af969a665390dc6b156fef55755ca546cd8d92
tree4c9dc54d44b0a091ed972ba1f2c20ad12dc48a4d
parent1a1f460ff151710289c2f8d4badd8b603b87d610
RDMA: Convert drivers to use the AH's sgid_attr in post_wr paths

For UD the drivers were doing a sgid_index lookup into the cache to get
the attrs, however we can now directly access the same attrs stores in
the ib_ah instead and remove the lookup.

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/bnxt_re/ib_verbs.c
drivers/infiniband/hw/mlx4/qp.c
drivers/infiniband/hw/mthca/mthca_av.c
drivers/infiniband/hw/qedr/qedr_roce_cm.c