xnvme_opts

Enums

Structs

xnvme_opts

struct xnvme_opts

xNVMe options

See

xnvme_dev_open()

Public Members

const char *be

Backend/system interface to use.

const char *dev

Device manager/enumerator.

const char *mem

Memory allocator to use for buffers.

const char *sync

Synchronous Command-interface.

const char *async
const char *admin

Administrative Command-interface

uint32_t nsid

Namespace identifier.

union xnvme_opts.[anonymous] [anonymous]
uint32_t create_mode

OS file creation-mode.

uint8_t poll_io

io_uring: enable io-polling

uint8_t poll_sq

io_uring: enable sqthread-polling

uint8_t register_files

io_uring: enable file-regirations

uint8_t register_buffers

io_uring: enable buffer-registration

struct xnvme_opts.[anonymous] css

SPDK controller-setup: do command-set-selection.

uint32_t use_cmb_sqs

SPDK controller-setup: use controller-memory-buffer for sq.

uint32_t shm_id

SPDK multi-processing: shared-memory-id.

uint32_t main_core

SPDK multi-processing: main-core.

const char *core_mask

SPDK multi-processing: core-mask.

const char *adrfam

SPDK fabrics: address-family, IPv4/IPv6.

uint32_t spdk_fabrics

Is assigned a value by backend if SPDK uses fabrics.

Functions

xnvme_opts_default

struct xnvme_opts xnvme_opts_default(void)

Returns an initialized option-struct with default values.

Return

Zero-initialized and with default values where applicable

xnvme_opts_pr

int xnvme_opts_pr(const struct xnvme_opts *opts, int pr_opts)

Prints a humanly readable representation of the given xnvme_opts.

Return

On success, the number of characters printed is returned.

Parameters