nvme_mi_mi_read_mi_data_port - Man Page

Perform a Read MI Data Structure command, retrieving port data.

Synopsis

int nvme_mi_mi_read_mi_data_port (nvme_mi_ep_t 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

Description

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

See struct nvme_mi_read_port_info.

Return

0 on success, non-zero on failure.

Info

July 2022 libnvme API manual