| 1 |
.TH "libnvme" 9 "struct nvme_lm_cdq_args" "November 2025" "API Manual" LINUX |
| 2 |
.SH NAME |
| 3 |
struct nvme_lm_cdq_args \- Arguments for Controller Data Queue (CDQ) command |
| 4 |
.SH SYNOPSIS |
| 5 |
struct nvme_lm_cdq_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 " __u16 mos;" |
| 18 |
.br |
| 19 |
.BI " __u16 cntlid;" |
| 20 |
.br |
| 21 |
.BI " __u16 cdqid;" |
| 22 |
.br |
| 23 |
.BI " __u8 sel;" |
| 24 |
.br |
| 25 |
.BI " __u8 sz_u8;" |
| 26 |
.br |
| 27 |
.BI " __u8 rsvd1[4];" |
| 28 |
.br |
| 29 |
.BI " __u32 sz;" |
| 30 |
.br |
| 31 |
.BI " |
| 32 |
}; |
| 33 |
.br |
| 34 |
|
| 35 |
.SH Members |
| 36 |
.IP "result" 12 |
| 37 |
Set on completion to the command's CQE DWORD 0 controller response |
| 38 |
.IP "data" 12 |
| 39 |
Pointer to data |
| 40 |
.IP "args_size" 12 |
| 41 |
Length of structure |
| 42 |
.IP "fd" 12 |
| 43 |
File descriptor of nvme device |
| 44 |
.IP "timeout" 12 |
| 45 |
Timeout in ms |
| 46 |
.IP "mos" 12 |
| 47 |
Management Operation Specific (MOS): This field is specific to the SEL type |
| 48 |
.IP "cntlid" 12 |
| 49 |
Controller ID: For Create CDQ, specifies the target migratable controller |
| 50 |
.IP "cdqid" 12 |
| 51 |
Controller Data Queue ID (CDQID): For Create CDQ, this field is the CDQID created |
| 52 |
by the controller if no error is present. For Delete CDQ, this field is the CDQID |
| 53 |
to delete. |
| 54 |
.IP "sel" 12 |
| 55 |
Select (SEL): This field specifies the type of management operation to perform. |
| 56 |
.IP "sz_u8" 12 |
| 57 |
For Create CDQ, specifies the size of CDQ, in dwords - 1 byte |
| 58 |
.IP "rsvd1" 12 |
| 59 |
Reserved |
| 60 |
.IP "sz" 12 |
| 61 |
For Create CDQ, specifies the size of CDQ, in dwords - 4 byte |