nvme_mi_admin_identify - Man Page

Perform an Admin identify command.

Synopsis

int nvme_mi_admin_identify (nvme_mi_ctrl_t ctrl , struct nvme_identify_args *args );

Arguments

ctrl

Controller to process identify command

args

Identify command arguments

Description

Perform an Identify command, using the Identify command parameters in args. Stores the identify data in ->data, and (if set) the result from cdw0 into args->result.

Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE.

See: struct nvme_identify_args

Return

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

Info

February 2024 libnvme API manual