Skip to content

types: Add Create Queue Specific (CQS) shift and mask for LM CDQ command#1035

Merged
igaw merged 1 commit intolinux-nvme:masterfrom
NateThornton:lm_cqs
Jul 11, 2025
Merged

types: Add Create Queue Specific (CQS) shift and mask for LM CDQ command#1035
igaw merged 1 commit intolinux-nvme:masterfrom
NateThornton:lm_cqs

Conversation

@NateThornton
Copy link
Copy Markdown
Contributor

While the NVMe standard defines the Controller Data Queue command's CNTLID field as bits 15:00, this field is offset into CDW11 by the Create Queue Specific (CQS) field in bits 31:16, making the existing CDW format incorrect

Define the NVME_LM_CQS_SHIFT and NVME_LM_CQS_MASK fields and use the in the nvme_lm_cdq ioctl.

While the NVMe standard defines the Controller Data Queue command's
CNTLID field as bits 15:00, this field is offset into CDW11 by the
Create Queue Specific (CQS) field in bits 31:16, making the existing CDW
format incorrect

Define the `NVME_LM_CQS_SHIFT` and `NVME_LM_CQS_MASK` fields and use
the in the `nvme_lm_cdq` ioctl.

Signed-off-by: Nate Thornton <[email protected]>
@igaw igaw merged commit 2ca023a into linux-nvme:master Jul 11, 2025
12 checks passed
@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Jul 11, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants