OpenCloudOS-Kernel/drivers/infiniband
Prabhakar Kushwaha 6ef793cbd4 RDMA/qedr: Move variables reset to qedr_set_common_qp_params()
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 dc70f7c3ed ("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().

Link: https://lore.kernel.org/r/20210811051650.14914-1-pkushwaha@marvell.com
Signed-off-by: Michal Kalderon <mkalderon@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: Shai Malin <smalin@marvell.com>
Signed-off-by: Prabhakar Kushwaha <pkushwaha@marvell.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-08-19 14:24:59 -03:00
..
core RDMA/core: Create clean QP creations interface for uverbs 2021-08-03 15:26:19 -03:00
hw RDMA/qedr: Move variables reset to qedr_set_common_qp_params() 2021-08-19 14:24:59 -03:00
sw RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
ulp RDMA/rtrs: Remove a useless kfree() 2021-08-19 11:19:07 -03:00
Kconfig
Makefile