diff options
author | Li Zhijian <[email protected]> | 2022-07-20 04:56:05 -0400 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2022-08-02 13:41:36 -0300 |
commit | dea4266f7bf2fc76e49b2e521feccd6c1dbca8c5 (patch) | |
tree | 1f2a233cef221c6e42433722d63626e82a037d7e /scripts/gdb/vmlinux-gdb.py | |
parent | b5605148e6ce36bb21020d49010b617693933128 (diff) |
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/[email protected]
Signed-off-by: Li Zhijian <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions