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>
This commit is contained in:
parent
7ed5cf8e6d
commit
f3f2837315
@ -501,7 +501,7 @@ static int nvme_rdma_create_queue_ib(struct nvme_rdma_queue *queue)
|
||||
}
|
||||
ibdev = queue->device->dev;
|
||||
|
||||
/* +1 for ib_stop_cq */
|
||||
/* +1 for ib_drain_qp */
|
||||
queue->cq_size = cq_factor * queue->queue_size + 1;
|
||||
|
||||
ret = nvme_rdma_create_cq(ibdev, queue);
|
||||
|
Loading…
x
Reference in New Issue
Block a user