submission queue and completion queue allocation in NVMe

Kong, Kwok Kwok.Kong at idt.com
Wed Nov 23 13:17:19 EST 2011


Matthew,

In the current linux driver, you send a Get Feature with Feature ID = 7
(Number of Queues) to allocate submission and completion queues from the
controller.

My understanding is that you should use Set Feature with Feature ID = 7
to allocate submission and completion queues from the controller.  The
Get Feature with ID = 7 returns the number of queues that have been
allocated.

If you send a Get Feature with ID =7 without first sending a Set Feature
with ID =7, the Get feature should return 0 in Dword 0 as no queues have
been allocated.

Do you agree ?

Thanks

-kwok 



More information about the Linux-nvme mailing list