nvme_identify_primary_ctrl(2)

nvme_identify_primary_ctrl2

Retrieve nvme primary controller identification

Usage

int nvme_identify_primary_ctrl (int fd , __u16 cntid , struct nvme_primary_ctrl_cap *cap );

Arguments

fd

File descriptor of nvme device

cntid

Return controllers starting at this identifier

cap

User space destination buffer address to transfer the data

Overview

See struct nvme_primary_ctrl_cap for the definition of the returned structure, cap.

Return

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

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.