libnvme_mi_mi_read_mi_data_port-libnvme3(2)

libnvme_mi_mi_read_mi_data_port-libnvme32

Perform a read mi data structure command, retrieving port data.

Usage

int libnvme_mi_mi_read_mi_data_port (struct libnvme_mi_ep *ep , __u8 portid , struct nvme_mi_read_port_info *p );

Arguments

ep

endpoint for MI communication

portid

id of port data to retrieve

p

port information to populate

Overview

Retrieves the Port information, for the specified port ID. The subsystem data (from libnvme_mi_mi_read_mi_data_subsys) nmp field contains the allowed range of port IDs.

See struct nvme_mi_read_port_info.

Return

The nvme command status if a response was received (see enum nvme_status_field) or negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.