nvme_submit_admin_passthru(2)

nvme_submit_admin_passthru2

Submit an nvme passthrough admin command

Usage

int nvme_submit_admin_passthru (int fd , struct nvme_passthru_cmd *cmd , __u32 *result );

Arguments

fd

File descriptor of nvme device

cmd

The nvme admin command to send

result

Optional field to return the result from the CQE DW0

Overview

Uses NVME_IOCTL_ADMIN_CMD for the ioctl request.

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.