Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct nvme_lm_cdq_args - Arguments for Controller Data Queue (CDQ) command

SYNOPSIS

struct nvme_lm_cdq_args {
__u32 *result;
void *data;
int args_size;
int fd;
__u32 timeout;
__u16 mos;
__u16 cntlid;
__u16 cdqid;
__u8 sel;
__u8 sz_u8;
__u8 rsvd1[4];
__u32 sz;
};

Members

Set on completion to the command's CQE DWORD 0 controller response
Pointer to data
Length of structure
File descriptor of nvme device
Timeout in ms
Management Operation Specific (MOS): This field is specific to the SEL type
Controller ID: For Create CDQ, specifies the target migratable controller
Controller Data Queue ID (CDQID): For Create CDQ, this field is the CDQID created by the controller if no error is present. For Delete CDQ, this field is the CDQID to delete.
Select (SEL): This field specifies the type of management operation to perform.
For Create CDQ, specifies the size of CDQ, in dwords - 1 byte
Reserved
For Create CDQ, specifies the size of CDQ, in dwords - 4 byte
struct nvme_lm_cdq_args November 2025