RDMA/rxe: Replace ah->pd by ah->ibah.pd
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 7 Oct 2021 20:40:50 +0000 (15:40 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 12 Oct 2021 16:25:26 +0000 (13:25 -0300)
commit4da698eabf0f7c1c1806670d3fd3895512fdf43b
tree4d387f838593c159f4d562c1575a6c0908a82d3b
parent73a54932100375ba94b31710f1e3f1234f23be0b
RDMA/rxe: Replace ah->pd by ah->ibah.pd

The pd field in struct rxe_ah is redundant with the pd field in the
rdma-core's ib_ah. Eliminate the pd field in rxe_ah and add an inline to
extract the pd from the ibah field.

Link: https://lore.kernel.org/r/20211007204051.10086-5-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_verbs.h