libnvme_mi_mi_read_mi_data_ctrl_list-libnvme32
Perform a read mi data structure command, retrieving the list of attached controllers.
Usage
int libnvme_mi_mi_read_mi_data_ctrl_list (struct libnvme_mi_ep *ep , __u8 start_ctrlid , struct nvme_ctrl_list *list );
Arguments
ep
|
endpoint for MI communication |
|---|---|
start_ctrlid
|
starting controller ID |
list
|
controller list to populate |
Overview
Retrieves the list of attached controllers, with IDs greater than or equal to start_ctrlid.
See struct nvme_ctrl_list.
Return
The nvme command status if a response was received (see enum nvme_status_field) or negative error code otherwise.