nvmf_add_ctrl(2)

nvmf_add_ctrl2

Connect a controller and update topology

Usage

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

Arguments

h

Host to which the controller should be attached

c

Controller to be connected

cfg

Default configuration for the controller

Overview

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; on failure errno is set and -1 is returned.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.