1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_set_features_args - Arguments for the NVMe Admin Set Fea‐
7 ture command
8
10 struct nvme_set_features_args {
11 __u32 *result;
12 void *data;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 __u32 cdw11;
18 __u32 cdw12;
19 __u32 cdw13;
20 __u32 cdw15;
21 __u32 data_len;
22 bool save;
23 __u8 uuidx;
24 __u8 fid;
25 };
26
27
29 result The command completion result from CQE dword0
30
31 data User address of feature data, if applicable
32
33 args_size Size of struct nvme_set_features_args
34
35 fd File descriptor of nvme device
36
37 timeout Timeout in ms
38
39 nsid Namespace ID, if applicable
40
41 cdw11 Value to set the feature to
42
43 cdw12 Feature specific command dword12 field
44
45 cdw15 Feature specific command dword15 field
46
47 data_len Length of feature data, if applicable, in bytes
48
49 save Save value across power states
50
51 uuidx UUID Index for differentiating vendor specific encoding
52
53 fid Feature identifier
54
55
56
57April 2022 struct nvme_set_features_args libnvme(9)