android_kernel_samsung_sm8650/drivers/infiniband
Li Zhijian dea4266f7b RDMA/rxe: Update wqe_index for each wqe error completion
Previously, if user space keeps sending abnormal wqe, queue.index will
keep increasing while qp->req.wqe_index doesn't. Once
qp->req.wqe_index==queue.index in next round, req_next_wqe() will treat
queue as empty. In such case, no new completion would be generated.

Update wqe_index for each wqe completion so that req_next_wqe() can get
next wqe properly.

Link: https://lore.kernel.org/r/1658307368-1851-2-git-send-email-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-08-02 13:41:36 -03:00
..
core IB: Fix repeated words 'the the' comments 2022-07-22 12:02:29 -03:00
hw IB/qib: Fix repeated "in" within comments 2022-07-28 12:50:05 -03:00
sw RDMA/rxe: Update wqe_index for each wqe error completion 2022-08-02 13:41:36 -03:00
ulp RDMA/srpt: Fix a use-after-free 2022-07-29 16:45:37 -03:00
Kconfig RDMA/erdma: Add driver to kernel build environment 2022-07-27 16:04:05 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00