nvme_create_ctrl - Man Page

Allocate an unconnected NVMe controller

Synopsis

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 );

Arguments

r

NVMe root element

subsysnqn

Subsystem NQN

transport

Transport type

traddr

Transport address

host_traddr

Host transport address

host_iface

Host interface name

trsvcid

Transport service ID

Description

Creates an unconnected controller to be used for nvme_add_ctrl.

Return

Controller instance

Info

August 2022 libnvme API manual