nvme_init_directive_recv-libnvme3(2)

nvme_init_directive_recv-libnvme32

Initialize passthru command for directive receive

Usage

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

Overview

Initializes the passthru command buffer for the Directive Receive command.

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