1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_get_features_args - Arguments for the NVMe Admin Get Fea‐
7 ture command
8
10 struct nvme_get_features_args {
11 __u32 *result;
12 void *data;
13 int args_size;
14 int fd;
15 __u32 timeout;
16 __u32 nsid;
17 enum nvme_get_features_sel sel;
18 __u32 cdw11;
19 __u32 data_len;
20 __u8 fid;
21 __u8 uuidx;
22 };
23
24
26 result The command completion result from CQE dword0
27
28 data User address of feature data, if applicable
29
30 args_size Size of struct nvme_get_features_args
31
32 fd File descriptor of nvme device
33
34 timeout Timeout in ms
35
36 nsid Namespace ID, if applicable
37
38 sel Select which type of attribute to return, see enum
39 nvme_get_features_sel
40
41 cdw11 Feature specific command dword11 field
42
43 data_len Length of feature data, if applicable, in bytes
44
45 fid Feature identifier, see enum nvme_features_id
46
47 uuidx UUID Index for differentiating vendor specific encoding
48
49
50
51April 2022 struct nvme_get_features_args libnvme(9)