libnvme_mi_mi_read_mi_data_subsys-libnvme32
Perform a read mi data structure command, retrieving subsystem data.
Usage
int libnvme_mi_mi_read_mi_data_subsys (struct libnvme_mi_ep *ep , struct nvme_mi_read_nvm_ss_info *s );
Arguments
ep
|
endpoint for MI communication |
|---|---|
s
|
subsystem information to populate |
Overview
Retrieves the Subsystem information - number of external ports and NVMe version information. See struct nvme_mi_read_nvm_ss_info.
Return
The nvme command status if a response was received (see enum nvme_status_field) or negative error code otherwise.