Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_set_features_args - Arguments for the NVMe Admin Set Feature command

SYNOPSIS

struct nvme_set_features_args {
__u32 *result;
void *data;
int args_size;
int fd;
__u32 timeout;
__u32 nsid;
__u32 cdw11;
__u32 cdw12;
__u32 cdw13;
__u32 cdw15;
__u32 data_len;
bool save;
__u8 uuidx;
__u8 fid;
};

Members

The command completion result from CQE dword0
User address of feature data, if applicable
Size of struct nvme_set_features_args
File descriptor of nvme device
Timeout in ms
Namespace ID, if applicable
Value to set the feature to
Feature specific command dword12 field
Feature specific command dword13 field
Feature specific command dword15 field
Length of feature data, if applicable, in bytes
Save value across power states
UUID Index for differentiating vendor specific encoding
Feature identifier
struct nvme_set_features_args December 2025