summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2022-07-20 11:56:05 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-08-02 19:41:36 +0300
commitdea4266f7bf2fc76e49b2e521feccd6c1dbca8c5 (patch)
tree1f2a233cef221c6e42433722d63626e82a037d7e /scripts/gdb/linux/lists.py
parentb5605148e6ce36bb21020d49010b617693933128 (diff)
downloadlinux-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