提交 375dc53d 编写于 作者: V Vijay Immanuel 提交者: Jason Gunthorpe

IB/rxe: Fix missing completion for mem_reg work requests

Run the completer task to post a work completion after processing
a memory registration or invalidate work request. This covers the
case where the memory registration or invalidate was the last work
request posted to the qp.
Signed-off-by: NVijay Immanuel <vijayi@attalasystems.com>
Reviewed-by: NYonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
上级 7350cdd0
...@@ -645,6 +645,9 @@ int rxe_requester(void *arg) ...@@ -645,6 +645,9 @@ int rxe_requester(void *arg)
} else { } else {
goto exit; goto exit;
} }
if ((wqe->wr.send_flags & IB_SEND_SIGNALED) ||
qp->sq_sig_type == IB_SIGNAL_ALL_WR)
rxe_run_task(&qp->comp.task, 1);
qp->req.wqe_index = next_index(qp->sq.queue, qp->req.wqe_index = next_index(qp->sq.queue,
qp->req.wqe_index); qp->req.wqe_index);
goto next_wqe; goto next_wqe;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册