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

nvme_mi_mi_read_mi_data_subsys - Perform a Read MI Data Structure command, retrieving subsystem data.

int nvme_mi_mi_read_mi_data_subsys (nvme_mi_ep_t ep , struct nvme_mi_read_nvm_ss_info *s );

endpoint for MI communication
subsystem information to populate

Retrieves the Subsystem information - number of external ports and NVMe version information. See struct nvme_mi_read_nvm_ss_info.

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

nvme_mi_mi_read_mi_data_subsys January 2023