On 5/28/19, 11:37 AM, "SPDK on behalf of aleix sanchis ramírez"
<spdk-bounces(a)lists.01.org on behalf of aleixsanchis(a)hotmail.com> wrote:
Hello, I was trying to increase the queue depth of the qpairs in my application and I
saw that passing options to the spdk_nvme_ctrlr_alloc_io_qpair function had no effect.
Digging into the spdk source, the function nvme_transport_ctrlr_create_io_qpair, in the
file nvme_ctrlr_ut.c does the following:
struct spdk_nvme_qpair *qpair;
qpair = calloc(1, sizeof(*qpair));
qpair->ctrlr = ctrlr;
qpair->id = qid;
qpair->qprio = opts->qprio;
The rest of the values of the struct opts are ignored, or am I missing something?
The nvme_ctrlr_ut.c code is unit test code, not part of the NVMe driver.
You can see nvme_pcie_ctrlr_create_io_qpair() in nvme_pcie.c pull values from the opts
structure for PCIe controllers. Similarly search for io_queue_size and you'll see
where the RDMA and TCP transports pull this value.
Show replies by date