[PATCH 2/2] nvmet-rdma: implement get_queue_size controller op

Sagi Grimberg sagi at grimberg.me
Tue Sep 21 15:52:33 PDT 2021


> Limit the maximal queue size for RDMA controllers. Today, the target
> reports a limit of 1024 and this limit isn't valid for some of the RDMA
> based controllers. For now, limit RDMA transport to 128 entries (the
> default queue depth configured for Linux NVMeoF host fabric drivers).
> Future general solution should use RDMA/core API to calculate this size
> according to device capabilities and number of WRs needed per NVMe IO
> request.

What is preventing you from doing that today? You have the device,
can't you check attr.max_qp_wr?



More information about the Linux-nvme mailing list