nvme_spec: fix SPDK_NVME_MAX_IO_QUEUES off-by-one
Only 65535 I/O queues are allowed, not 65536. Each I/O queue must have a unique queue ID, and since queue ID 0 is reserved for the admin queue, there can be only 65535 unique I/O queue IDs. Change-Id: I51875e5a72e08ec1727365ca9706c43f3142fd83 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
42e10f3e01
commit
2144f0e97f
@ -54,7 +54,7 @@ extern "C" {
|
||||
*/
|
||||
#define SPDK_NVME_GLOBAL_NS_TAG ((uint32_t)0xFFFFFFFF)
|
||||
|
||||
#define SPDK_NVME_MAX_IO_QUEUES (1 << 16)
|
||||
#define SPDK_NVME_MAX_IO_QUEUES (65535)
|
||||
|
||||
/**
|
||||
* Indicates the maximum number of range sets that may be specified
|
||||
|
Loading…
x
Reference in New Issue
Block a user