mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
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>
This commit is contained in:
parent
dc5bc6a9fe
commit
c8295d1112
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue