Skip to content

Commit f3f2837

Browse files
mgurtovoykeithbusch
authored andcommitted
nvme-rdma: fix typo in comment
There is no ib_stop_cq API and the need for the +1 is for ib_drain_qp. Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Israel Rukshin <israelr@nvidia.com> Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
1 parent 7ed5cf8 commit f3f2837

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/nvme/host/rdma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static int nvme_rdma_create_queue_ib(struct nvme_rdma_queue *queue)
501501
}
502502
ibdev = queue->device->dev;
503503

504-
/* +1 for ib_stop_cq */
504+
/* +1 for ib_drain_qp */
505505
queue->cq_size = cq_factor * queue->queue_size + 1;
506506

507507
ret = nvme_rdma_create_cq(ibdev, queue);

0 commit comments

Comments
 (0)