libnvme(9)
π NAME π
enum nvme_lm_cdq_fields β Controller Data Queue command fields. okay bestie, this is the libnvme(9) page from the API Manual, and itβs here to explain the enum constants for the Controller Data Queue command fields. no cap, every single one is below π
β¨ SYNOPSIS β¨
the enum itself, literally:
enum nvme_lm_cdq_fields {
NVME_LM_CDQ_MOS_SHIFT ,
NVME_LM_CDQ_MOS_MASK ,
NVME_LM_CDQ_SEL_SHIFT ,
NVME_LM_CDQ_SEL_MASK ,
NVME_LM_SEL_CREATE_CDQ ,
NVME_LM_SEL_DELETE_CDQ ,
NVME_LM_QT_SHIFT ,
NVME_LM_QT_MASK ,
NVME_LM_CQS_SHIFT ,
NVME_LM_CQS_MASK ,
NVME_LM_QT_USER_DATA_MIGRATION_QUEUE ,
NVME_LM_CREATE_CDQ_PC ,
NVME_LM_CREATE_CDQ_PC_SHIFT ,
NVME_LM_CREATE_CDQ_PC_MASK ,
NVME_LM_CREATE_CDQ_CNTLID_SHIFT ,
NVME_LM_CREATE_CDQ_CNTLID_MASK ,
NVME_LM_DELETE_CDQ_CDQID_SHIFT ,
NVME_LM_DELETE_CDQ_CDQID_MASK ,
NVME_LM_CREATE_CDQ_CDQID_SHIFT ,
NVME_LM_CREATE_CDQ_CDQID_MASK
};
πΈ Constants πΈ
okay bestie, here are the constants β every single one, no skipping, no cap:
NVME_LM_CDQ_MOS_SHIFTβ shift to set the Management Operation Specific (MOS) field. slide those bits into place πNVME_LM_CDQ_MOS_MASKβ mask to set the MOS field. iconic targeted-bit behavior β¨NVME_LM_CDQ_SEL_SHIFTβ shift to set the Select (SEL) field.NVME_LM_CDQ_SEL_MASKβ mask to set the SEL field.NVME_LM_SEL_CREATE_CDQβ the Create CDQ select option. yes bestie, creation era π«ΆNVME_LM_SEL_DELETE_CDQβ the Delete CDQ select option. goodbye era πNVME_LM_QT_SHIFTβ shift amount to set the Queue Type (QT) field relative to MOS.NVME_LM_QT_MASKβ mask to set the QT field relative to MOS.NVME_LM_CQS_SHIFTβ shift amount for the Create Queue Specific (CQS) field.NVME_LM_CQS_MASKβ mask to set the CQS field.NVME_LM_QT_USER_DATA_MIGRATION_QUEUEβ the User Data Migration Queue type. itβs giving migration, obviously π¦NVME_LM_CREATE_CDQ_PCβ Physically Contiguous (PC). thatβs the whole description, bestie πNVME_LM_CREATE_CDQ_PC_SHIFTβ shift amount to set the PC field.NVME_LM_CREATE_CDQ_PC_MASKβ mask to set the PC field.NVME_LM_CREATE_CDQ_CNTLID_SHIFTβ shift amount to set the CNTLID field relative to MOS.NVME_LM_CREATE_CDQ_CNTLID_MASKβ mask to set the CNTLID field relative to MOS.NVME_LM_DELETE_CDQ_CDQID_SHIFTβ shift amount to set the CDQID field for deletion.NVME_LM_DELETE_CDQ_CDQID_MASKβ mask to set the CDQID field for deletion.NVME_LM_CREATE_CDQ_CDQID_SHIFTβ shift amount to get the CDQID field from the Create response in completiondword0. yes, get β thatβs what it says πNVME_LM_CREATE_CDQ_CDQID_MASKβ mask to get the CNTLID field from the Create response in completiondword0. and yeah, it literally says CNTLID here even though the constant is CDQID β Iβm keeping the manpageβs exact wording, no edits from me π
xoxo, sign-off vibes: October 2026 Β· enum nvme_lm_cdq_fields Β· libnvme(9) ππ¦
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms