table of contents
| libnvmf_context_set_io_queues(9) | libnvme API manual | libnvmf_context_set_io_queues(9) |
NAME¶
libnvmf_context_set_io_queues - Set I/O queue topology for context
SYNOPSIS¶
int libnvmf_context_set_io_queues (struct libnvmf_context *fctx , int nr_io_queues , int nr_write_queues , int nr_poll_queues , int queue_size , bool disable_sqflow );
ARGUMENTS¶
- fctx
- Fabrics context
- nr_io_queues
- Number of I/O queues
- nr_write_queues
- Number of write-only queues
- nr_poll_queues
- Number of polling queues
- queue_size
- Number of entries per I/O queue (SQSIZE in Connect command)
- disable_sqflow
- Disable SQ flow control negotiation
DESCRIPTION¶
Convenience setter for the five parameters that together define the I/O queue structure used when establishing a controller connection. All five feed directly into the Connect command at queue creation time. nr_write_queues and nr_poll_queues are additive: total I/O queues is nr_io_queues + nr_write_queues + nr_poll_queues.
Individual libnvmf_context_set_nr_io_queues, _set_nr_write_queues, _set_nr_poll_queues, _set_queue_size, and _set_disable_sqflow accessors are also available when only a subset needs to change.
RETURN¶
0 on success, negative error code otherwise.
| libnvmf_context_set_io_queues | July 2026 |