android_kernel_samsung_sm8650/drivers/infiniband/hw
Tatyana Nikolova 7b8943b821 RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state
When connection establishment fails in iWARP mode, an app can drain the
QPs and hang because flush isn't issued when the QP is modified from RTR
state to error. Issue a flush in this case using function
irdma_cm_disconn().

Update irdma_cm_disconn() to do flush when cm_id is NULL, which is the
case when the QP is in RTR state and there is an error in the connection
establishment.

Fixes: b48c24c2d7 ("RDMA/irdma: Implement device supported verb APIs")
Link: https://lore.kernel.org/r/20220425181703.1634-2-shiraz.saleem@intel.com
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-05-02 11:10:33 -03:00
..
bnxt_re RDMA/bnxt_re: Fix endianness warning for req.pkey 2021-12-06 19:56:30 -04:00
cxgb4 RDMA/cxgb4: Set queue pair state when being queried 2022-01-05 15:51:51 -04:00
efa RDMA/efa: Add support for dmabuf memory regions 2021-10-28 08:58:26 -03:00
hfi1 RDMA/hfi1: Fix use-after-free bug for mm struct 2022-04-08 15:40:06 -03:00
hns RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT 2022-03-15 20:19:00 -03:00
irdma RDMA/irdma: Flush iWARP QP if modified to ERR from RTR state 2022-05-02 11:10:33 -03:00
mlx4 v5.18 merge window pull request 2022-03-24 19:17:39 -07:00
mlx5 RDMA/mlx5: Add a missing update of cache->last_add 2022-04-04 10:32:02 -03:00
mthca RDMA/mthca: Delete useless module.h include 2022-01-28 13:03:12 -04:00
ocrdma RDMA/ocrdma: Remove unneeded variable 2022-01-05 13:47:43 -04:00
qedr RDMA/qedr: Fix reporting max_{send/recv}_wr attrs 2021-12-07 14:59:26 -04:00
qib v5.18 merge window pull request 2022-03-24 19:17:39 -07:00
usnic RDMA/usnic: Delete useless module.h include 2022-01-28 13:03:13 -04:00
vmw_pvrdma RDMA/pvrdma: Remove useless DMA-32 fallback configuration 2022-01-28 10:49:04 -04:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00