1nvme_set_features_data(9) libnvme API manual nvme_set_features_data(9)
2
3
4
6 nvme_set_features_data - Helper function for @nvme_set_features()
7
9 int nvme_set_features_data (int fd , __u8 fid , __u32 nsid , __u32
10 cdw11 , bool save , __u32 data_len , void *data , __u32 *result );
11
13 fd File descriptor of nvme device
14
15 fid Feature identifier
16
17 nsid Namespace ID, if applicable
18
19 cdw11 Value to set the feature to
20
21 save Save value across power states
22
23 data_len Length of feature data, if applicable, in bytes
24
25 data User address of feature data, if applicable
26
27 result The command completion result from CQE dword0
28
30 The nvme command status if a response was received (see enum nvme_sta‐
31 tus_field) or -1 with errno set otherwise.
32
33
34
35November 2022 nvme_set_features_data nvme_set_features_data(9)