| 1 |
.TH "libnvme" 9 "struct nvme_get_features_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_get_features_args \- Arguments for the NVMe Admin Get Feature command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_get_features_args { |
| 6 |
.br |
| 7 |
.BI " __u32 *result;" |
| 8 |
.br |
| 9 |
.BI " void *data;" |
| 10 |
.br |
| 11 |
.BI " int args_size;" |
| 12 |
.br |
| 13 |
.BI " int fd;" |
| 14 |
.br |
| 15 |
.BI " __u32 timeout;" |
| 16 |
.br |
| 17 |
.BI " __u32 nsid;" |
| 18 |
.br |
| 19 |
.BI " enum nvme_get_features_sel sel;" |
| 20 |
.br |
| 21 |
.BI " __u32 cdw11;" |
| 22 |
.br |
| 23 |
.BI " __u32 data_len;" |
| 24 |
.br |
| 25 |
.BI " __u8 fid;" |
| 26 |
.br |
| 27 |
.BI " __u8 uuidx;" |
| 28 |
.br |
| 29 |
.BI " |
| 30 |
}; |
| 31 |
.br |
| 32 |
|
| 33 |
.SH Members |
| 34 |
.IP "result" 12 |
| 35 |
The command completion result from CQE dword0 |
| 36 |
.IP "data" 12 |
| 37 |
User address of feature data, if applicable |
| 38 |
.IP "args_size" 12 |
| 39 |
Size of \fIstruct nvme_get_features_args\fP |
| 40 |
.IP "fd" 12 |
| 41 |
File descriptor of nvme device |
| 42 |
.IP "timeout" 12 |
| 43 |
Timeout in ms |
| 44 |
.IP "nsid" 12 |
| 45 |
Namespace ID, if applicable |
| 46 |
.IP "sel" 12 |
| 47 |
Select which type of attribute to return, |
| 48 |
see \fIenum nvme_get_features_sel\fP |
| 49 |
.IP "cdw11" 12 |
| 50 |
Feature specific command dword11 field |
| 51 |
.IP "data_len" 12 |
| 52 |
Length of feature data, if applicable, in bytes |
| 53 |
.IP "fid" 12 |
| 54 |
Feature identifier, see \fIenum nvme_features_id\fP |
| 55 |
.IP "uuidx" 12 |
| 56 |
UUID Index for differentiating vendor specific encoding |