nvme_identify_primary_ctrl(2) | libnvme API manual | nvme_identify_primary_ctrl(2) |
nvme_identify_primary_ctrl - Retrieve NVMe Primary Controller identification
int nvme_identify_primary_ctrl (int fd , __u16 cntid , struct nvme_primary_ctrl_cap *cap );
See struct nvme_primary_ctrl_cap for the definition of the returned structure, cap.
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
nvme_identify_primary_ctrl | January 2025 |