1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_directive_send_args - Arguments for the NVMe Directive Send
7 command
8
10 struct nvme_directive_send_args {
11 __u32 *result;
12 void *data;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 enum nvme_directive_send_doper doper;
18 enum nvme_directive_dtype dtype;
19 __u32 cdw12;
20 __u32 data_len;
21 __u16 dspec;
22 };
23
24
26 result If successful, the CQE dword0 value
27
28 data Data payload to to be send
29
30 args_size Size of struct nvme_directive_send_args
31
32 fd File descriptor of nvme device
33
34 timeout Timeout in ms
35
36 nsid Namespace ID, if applicable
37
38 doper Directive send operation, see enum nvme_direcā
39 tive_send_doper
40
41 dtype Directive type, see enum nvme_directive_dtype
42
43 cdw12 Directive specific command dword12
44
45 data_len Length of data payload in bytes
46
47 dspec Directive specific field
48
49
50
51April 2022 struct nvme_directive_send_args libnvme(9)