Re: [PATCH for-next] qedr: Move variables reset to qedr_set_common_qp_params()

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

 



On Wed, Aug 11, 2021 at 08:16:50AM +0300, Prabhakar Kushwaha wrote:
> Qedr code is tightly coupled with existing both INIT transitions.
> Here, during first INIT transition all variables are reset and
> the RESET state is checked in post_recv() before any posting.
> 
> Commit dc70f7c3ed34 ("RDMA/cma: Remove unnecessary INIT->INIT
> transition") exposed this bug.
> 
> So moving variables reset to qedr_set_common_qp_params() and also
> avoid RESET state check for post_recv().
> 
> Signed-off-by: Michal Kalderon <mkalderon@xxxxxxxxxxx>
> Signed-off-by: Ariel Elior <aelior@xxxxxxxxxxx>
> Signed-off-by: Shai Malin <smalin@xxxxxxxxxxx>
> Signed-off-by: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/qedr/verbs.c | 32 +++++++++++++-----------------
>  1 file changed, 14 insertions(+), 18 deletions(-)

Applied 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