Skip to content

RFC *** use rdma device capability to limit queue size ***

Guixin Liu linux-nvme 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest2 patches 8 repliesIn review
  2. v1 RFC3 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- use nvmet_ctrl's port to find rdma's nvmet_rdma_queue without change get_max_queue_size's param.
- additional clarification that the queue depth will be controlled within 1024, rather than being very large.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvmet: rdma: utilize ib_device capability for setting max_queue_sizedrivers/nvme/target/rdma.c include/linux/nvme-rdma.h+18 -10 replies
2/2nvme: rdma: use ib_device's max_qp_wr to limit sqsizedrivers/nvme/host/rdma.c include/linux/nvme-rdma.h+8 -88 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH V2 0/2] *** use rdma device capability to limit queue size ***

Hi guys,

Currently, the queue size if nvme over rdma is limited with a depth of 128, we can use rdma device capability to limit it.

Changes from v1 to v2:
- use nvmet_ctrl's port to find rdma's nvmet_rdma_queue without change get_max_queue_size's param.
- additional clarification that the queue depth will be controlled within 1024, rather than being very large.

Guixin Liu (2):
nvmet: rdma: utilize ib_device capability for setting max_queue_size
nvme: rdma: use ib_device's max_qp_wr to limit sqsize

 drivers/nvme/host/rdma.c   | 14 ++++++++------
 drivers/nvme/target/rdma.c | 17 ++++++++++++++++-
 include/linux/nvme-rdma.h  |  2 +-
 3 files changed, 25 insertions(+), 8 deletions(-)
Signature · 1 line
1.8.3.1