nvme-rdma: Don't rearm the CQ when polling directly
authorSagi Grimberg <sagi@grimberg.me>
Thu, 4 May 2017 10:33:08 +0000 (13:33 +0300)
committerChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2017 12:28:18 +0000 (14:28 +0200)
We don't need it as the core polling context will take
are of rearming the completion queue.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c

index c4fd9d50b27b8d6ed57708bb1b2a85d6e2579039..51b8d28e8bdd35bcd3a304ddcfef553601b9660a 100644 (file)
@@ -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;