DOKK / manpages / debian 12 / libnvme-dev / nvme_identify_secondary_ctrl_list.2.en
nvme_identify_secondary_ctrl_list(2) libnvme API manual nvme_identify_secondary_ctrl_list(2)

nvme_identify_secondary_ctrl_list - Retrieves secondary controller list

int nvme_identify_secondary_ctrl_list (int fd , __u32 nsid , __u16 cntid , struct nvme_secondary_ctrl_list *sc_list );

File descriptor of nvme device
Namespace identifier
Return controllers starting at this identifier
User space destination address to transfer the data

A Secondary Controller List is returned to the host for up to 127 secondary controllers associated with the primary controller processing this command. The list contains entries for controller identifiers greater than or equal to the value specified in the Controller Identifier (cntid).

See struct nvme_secondary_ctrls_list for a definition of the returned structure.

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_identify_secondary_ctrl_list January 2023