Scroll to navigation

nvme_mi_mi_read_mi_data_ctrl(2) libnvme API manual nvme_mi_mi_read_mi_data_ctrl(2)

NAME

nvme_mi_mi_read_mi_data_ctrl - Perform a Read MI Data Structure command, retrieving controller information

SYNOPSIS

int nvme_mi_mi_read_mi_data_ctrl (nvme_mi_ep_t ep , __u16 ctrl_id , struct nvme_mi_read_ctrl_info *ctrl );

ARGUMENTS

endpoint for MI communication
ID of controller to query
controller data to populate

DESCRIPTION

Retrieves the Controller Information Data Structure for the attached controller with ID ctrlid.

See struct nvme_mi_read_ctrl_info.

RETURN

0 on success, non-zero on failure.

nvme_mi_mi_read_mi_data_ctrl October 2022