diff options
author | Li Zhijian <lizhijian@fujitsu.com> | 2022-07-20 11:56:05 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-08-02 19:41:36 +0300 |
commit | dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5 (patch) | |
tree | 1f2a233cef221c6e42433722d63626e82a037d7e /scripts/gdb/linux/lists.py | |
parent | b5605148e6ce36bb21020d49010b617693933128 (diff) | |
download | linux-dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5.tar.xz |
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>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions