Reference

nvme_init_directive_send-libnvme3(2)

Initialize passthru command for Directive Send

NAME

nvme_init_directive_send - Initialize passthru command for Directive Send

SYNOPSIS

void nvme_init_directive_send (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_directive_send_doper doper , enum nvme_directive_dtype dtype , __u16 dspec , void *data , __u32 len );

ARGUMENTS

cmd

Passthru command to use

nsid

Namespace ID, if applicable

doper

Directive send operation, see enum nvme_directive_send_doper

dtype

Directive type, see enum nvme_directive_dtype

dspec

Directive specific field

data

Data payload buffer to be send

len

Length of data payload in bytes

DESCRIPTION

Initializes the passthru command buffer for the Directive Send command.