Reference

nvme_init_directive_recv-libnvme3(2)

Initialize passthru command for Directive Receive

NAME

nvme_init_directive_recv - Initialize passthru command for Directive Receive

SYNOPSIS

void nvme_init_directive_recv (struct libnvme_passthru_cmd *cmd , __u32 nsid , enum nvme_directive_receive_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 receive operation, see enum nvme_directive_receive_doper

dtype

Directive type, see enum nvme_directive_dtype

dspec

Directive specific field

data

Userspace address of data payload buffer

len

Length of data payload in bytes

DESCRIPTION

Initializes the passthru command buffer for the Directive Receive command.