nvme\_init\_lm\_cdq\_create(9) libnvme API manual nvme\_init\_lm\_cdq\_create(9)

# [NAME](#NAME)

nvme\_init\_lm\_cdq\_create - Initialize passthru command for Controller Data Queue create - Controller Data Queue command

# [SYNOPSIS](#SYNOPSIS)

**void nvme\_init\_lm\_cdq\_create** **(struct libnvme\_passthru\_cmd \*cmd ,** **\_\_u16 mos ,** **\_\_u16 cntlid ,** **\_\_u32 cdqsize ,** **void \*data );**

# [ARGUMENTS](#ARGUMENTS)

[cmd](#cmd)

Passthru command to use

[mos](#mos)

Management Operation Specific (MOS): This field is specific to the SEL type

[cntlid](#cntlid)

Controller ID: For Create CDQ, specifies the target migratable controller

[cdqsize](#cdqsize)

For Create CDQ, specifies the size of CDQ, in dwords - 4 byte

[data](#data)

Pointer to data buffer

# [DESCRIPTION](#DESCRIPTION)

Initializes the passthru command buffer for the Controller Data Queue command. Note: The result CDQID is returned in the CQE dword0, which the submission function must handle.

nvme\_init\_lm\_cdq\_create October 2026

---

Document: nvme_init_lm_cdq_create-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
