Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_directive_send_args - Arguments for the NVMe Directive Send command

SYNOPSIS

struct nvme_directive_send_args {
__u32 *result;
void *data;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
enum nvme_directive_send_doper doper;
enum nvme_directive_dtype dtype;
__u32 cdw12;
__u32 data_len;
__u16 dspec;
};

Members

If successful, the CQE dword0 value
Data payload to be send
Size of struct nvme_directive_send_args
File descriptor of nvme device
Timeout in ms
Namespace ID, if applicable
Directive send operation, see enum nvme_directive_send_doper
Directive type, see enum nvme_directive_dtype
Directive specific command dword12
Length of data payload in bytes
Directive specific field
struct nvme_directive_send_args December 2025