1nvmf_add_ctrl(9)              libnvme API manual              nvmf_add_ctrl(9)
2
3
4

NAME

6       nvmf_add_ctrl - Connect a controller and update topology
7

SYNOPSIS

9       int  nvmf_add_ctrl  (nvme_host_t  h  ,  nvme_ctrl_t  c  ,  const struct
10       nvme_fabrics_config *cfg );
11

ARGUMENTS

13       h           Host to which the controller should be attached
14
15       c           Controller to be connected
16
17       cfg         Default configuration for the controller
18

DESCRIPTION

20       Issues a 'connect' command to the NVMe-oF controller and inserts c into
21       the  topology  using  h  as parent.  c must be initialized and not con‐
22       nected to the topology.
23

RETURN

25       0 on success; on failure errno is set and -1 is returned.
26
27
28
29November 2022                    nvmf_add_ctrl                nvmf_add_ctrl(9)
Impressum