Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 375dc53d authored by Vijay Immanuel's avatar Vijay Immanuel Committed by Jason Gunthorpe
Browse files

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: default avatarVijay Immanuel <vijayi@attalasystems.com>
Reviewed-by: default avatarYonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 7350cdd0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -645,6 +645,9 @@ int rxe_requester(void *arg)
		} else {
			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);
		goto next_wqe;