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

Commit c8295d11 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Christoph Hellwig
Browse files

nvme-rdma: Don't rearm the CQ when polling directly



We don't need it as the core polling context will take
are of rearming the completion queue.

Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent dc5bc6a9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1521,7 +1521,6 @@ static int nvme_rdma_poll(struct blk_mq_hw_ctx *hctx, unsigned int tag)
	struct ib_wc wc;
	int found = 0;

	ib_req_notify_cq(cq, IB_CQ_NEXT_COMP);
	while (ib_poll_cq(cq, 1, &wc) > 0) {
		struct ib_cqe *cqe = wc.wr_cqe;