logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nvmf_add_ctrl - Connect a controller and update topology

Arguments

h Host to which the controller should be attached c Controller to be connected cfg Default configuration for the controller

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.

Name

nvmf_add_ctrl - Connect a controller and update topology

Return

0 on success; on failure errno is set and -1 is returned. May 2025 nvmf_add_ctrl nvmf_add_ctrl(2)

Synopsis

intnvmf_add_ctrl(nvme_host_th,nvme_ctrl_tc,conststructnvme_fabrics_config*cfg);

See Also