nvme_identify_ctrl - Man Page

Retrieves nvme identify controller

Synopsis

int nvme_identify_ctrl (int fd , struct nvme_id_ctrl *id );

Arguments

fd

File descriptor of nvme device

id

User space destination address to transfer the data,

Description

Sends nvme identify with CNS value NVME_IDENTIFY_CNS_CTRL.

See struct nvme_id_ctrl for details on the data returned.

Return

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

Info

August 2022 libnvme API manual