Reference

nvme_init_dev_self_test-libnvme3(2)

Initialize passthru command to start or abort a self test

NAME

nvme_init_dev_self_test - Initialize passthru command to start or abort a self test

SYNOPSIS

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

DESCRIPTION

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