libnvmf_add_ctrl(9) libnvme API manual libnvmf_add_ctrl(9) NAME libnvmf_add_ctrl - Connect a controller and update topology SYNOPSIS int libnvmf_add_ctrl (struct libnvme_host *h , struct libnvme_ctrl *c ); ARGUMENTS h Host to which the controller should be attached c Controller to be connected DESCRIPTION Issues a 'connect' command to the NVMe-oF controller and inserts c into the topology using h as parent. c must be initialized and not connected to the topology. RETURN 0 on success, negative error code otherwise. September 2026 libnvmf_add_ctrl libnvmf_add_ctrl(9)