On Tue, Apr 04, 2023 at 11:26:07PM -0500, Bob Pearson wrote: > The rxe driver has four different QP state variables, > qp->attr.qp_state, > qp->req.state, > qp->comp.state, and > qp->resp.state. > All of these basically carry the same information. > > This patch replaces uses of qp->resp.state by qp->attr.qp_state. > This is the first of three patches which will remove all but the > qp->attr.qp_state variable. This will bring the driver closer > to the IBA description. > > Signed-off-by: Bob Pearson <rpearsonhpe@xxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_net.c | 2 +- > drivers/infiniband/sw/rxe/rxe_qp.c | 5 ----- > drivers/infiniband/sw/rxe/rxe_recv.c | 2 +- > drivers/infiniband/sw/rxe/rxe_resp.c | 10 +++++----- > drivers/infiniband/sw/rxe/rxe_verbs.c | 2 +- > drivers/infiniband/sw/rxe/rxe_verbs.h | 1 - > 6 files changed, 8 insertions(+), 14 deletions(-) Applied this series to for-next Thanks, Jason