OpenCloudOS-Kernel/drivers/infiniband/hw
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
..
bnxt_re RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
cxgb4 RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
efa RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
hfi1 RDMA/hfi1: Stop using seq_get_buf in _driver_stats_seq_show 2021-08-19 11:39:44 -03:00
hns RDMA/hns: Fix return in hns_roce_rereg_user_mr() 2021-08-19 11:12:04 -03:00
irdma RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
mlx4 RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
mlx5 RDMA/mlx5: Delete not-available udata check 2021-08-03 15:26:17 -03:00
mthca RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
ocrdma RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
qedr RDMA/qedr: Move variables reset to qedr_set_common_qp_params() 2021-08-19 14:24:59 -03:00
qib RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
usnic RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
vmw_pvrdma RDMA: Globally allocate and release QP memory 2021-08-03 13:44:27 -03:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00