Re: [PATCH for-next 1/5] RDMA/rxe: Remove qp->resp.state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux