summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_mi_mi_read_mi_data_subsys.2
blob: 99b7b98e38d1f090f16abb11afa0e47a0634f616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_mi_mi_read_mi_data_subsys" 9 "nvme_mi_mi_read_mi_data_subsys" "December 2023" "libnvme API manual" LINUX
.SH NAME
nvme_mi_mi_read_mi_data_subsys \- Perform a Read MI Data Structure command, retrieving subsystem data.
.SH SYNOPSIS
.B "int" nvme_mi_mi_read_mi_data_subsys
.BI "(nvme_mi_ep_t ep "  ","
.BI "struct nvme_mi_read_nvm_ss_info *s "  ");"
.SH ARGUMENTS
.IP "ep" 12
endpoint for MI communication
.IP "s" 12
subsystem information to populate
.SH "DESCRIPTION"
Retrieves the Subsystem information - number of external ports and
NVMe version information. See \fIstruct nvme_mi_read_nvm_ss_info\fP.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise..