nvme_create_ctrl(2) libnvme API manual nvme_create_ctrl(2)

nvme_create_ctrl - Allocate an unconnected NVMe controller

nvme_ctrl_t nvme_create_ctrl (nvme_root_t r , const char *subsysnqn , const char *transport , const char *traddr , const char *host_traddr , const char *host_iface , const char *trsvcid );

NVMe root element
Subsystem NQN
Transport type
Transport address
Host transport address
Host interface name
Transport service ID

Creates an unconnected controller to be used for nvme_add_ctrl.

Controller instance

nvme_create_ctrl January 2025