nvme_init_dev_self_test-libnvme3(2)

nvme_init_dev_self_test-libnvme32

Initialize passthru command to start or abort a self test

Usage

void nvme_init_dev_self_test (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_dst_stc stc );

Arguments

cmd

Passthru command to use

nsid

Namespace ID to test

stc

Self test code, see enum nvme_dst_stc

Overview

Initializes the passthru command buffer for the Device Self-test command.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.