diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-05-04 12:33:08 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-06-15 14:28:18 +0200 |
commit | c8295d111225f869f98f032050ec8d028f5b590f (patch) | |
tree | 657187366e67b885fff672bfc3faf93d3868727e /drivers/nvme | |
parent | nvme-rdma: Make queue flags bit numbers and not shifts (diff) | |
download | linux-c8295d111225f869f98f032050ec8d028f5b590f.tar.xz linux-c8295d111225f869f98f032050ec8d028f5b590f.zip |
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: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/rdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c index c4fd9d50b27b..51b8d28e8bdd 100644 --- a/drivers/nvme/host/rdma.c +++ b/drivers/nvme/host/rdma.c @@ -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; |