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

nvme_mi_admin_identify_secondary_ctrl_list - Perform an Admin identify for a secondary controller list.

int nvme_mi_admin_identify_secondary_ctrl_list (nvme_mi_ctrl_t ctrl , __u32 nsid , __u16 cntid , struct nvme_secondary_ctrl_list *list );

Controller to process identify command
Namespace ID to specify list start
Controller ID to specify list start
List data to populate

Perform an Identify command, for the secondary controllers associated with the current primary controller. Only entries with IDs greater than or equal to cntid are returned.

Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE, so list will be be fully populated on success.

See: struct nvme_secondary_ctrl_list

0 on success, non-zero on failure

nvme_mi_admin_identify_secondary_ctrl_list January 2023