nvme_mi_admin_identify_primary_ctrl(2)

nvme_mi_admin_identify_primary_ctrl2

Perform an admin identify for primary controller capabilities data structure.

Usage

int nvme_mi_admin_identify_primary_ctrl (nvme_mi_ctrl_t ctrl , __u16 cntid , struct nvme_primary_ctrl_cap *cap );

Arguments

ctrl

Controller to process identify command

cntid

Controller ID to specify

cap

Primary Controller Capabilities data structure to populate

Overview

Perform an Identify command to get the Primary Controller Capabilities data for the controller specified by cntid

Will return an error if the length of the response data (from the controller) is not a full NVME_IDENTIFY_DATA_SIZE, so cap will be be fully populated on success.

See: struct nvme_primary_ctrl_cap

Return

0 on success, non-zero on failure

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.