Debian Codegraph @

doc/man/nvme_mi_mi_read_mi_data_port.2

raw
1 .TH "nvme_mi_mi_read_mi_data_port" 9 "nvme_mi_mi_read_mi_data_port" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_mi_mi_read_mi_data_port \- Perform a Read MI Data Structure command, retrieving port data.
4 .SH SYNOPSIS
5 .B "int" nvme_mi_mi_read_mi_data_port
6 .BI "(nvme_mi_ep_t ep " ","
7 .BI "__u8 portid " ","
8 .BI "struct nvme_mi_read_port_info *p " ");"
9 .SH ARGUMENTS
10 .IP "ep" 12
11 endpoint for MI communication
12 .IP "portid" 12
13 id of port data to retrieve
14 .IP "p" 12
15 port information to populate
16 .SH "DESCRIPTION"
17 Retrieves the Port information, for the specified port ID. The subsystem
18 data (from \fInvme_mi_mi_read_mi_data_subsys\fP) nmp field contains the allowed
19 range of port IDs.
20
21 See \fIstruct nvme_mi_read_port_info\fP.
22 .SH "RETURN"
23 The nvme command status if a response was received (see
24 \fIenum nvme_status_field\fP) or -1 with errno set otherwise..