Commit 2ca023a
types: Add Create Queue Specific (CQS) shift and mask for LM CDQ command
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 <n.thornton@samsung.com>1 parent e7bf9eb commit 2ca023a
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2400 | 2400 | | |
2401 | 2401 | | |
2402 | 2402 | | |
2403 | | - | |
| 2403 | + | |
2404 | 2404 | | |
2405 | 2405 | | |
2406 | 2406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9997 | 9997 | | |
9998 | 9998 | | |
9999 | 9999 | | |
| 10000 | + | |
| 10001 | + | |
10000 | 10002 | | |
10001 | 10003 | | |
10002 | 10004 | | |
| |||
10018 | 10020 | | |
10019 | 10021 | | |
10020 | 10022 | | |
| 10023 | + | |
| 10024 | + | |
10021 | 10025 | | |
10022 | 10026 | | |
10023 | 10027 | | |
| |||
0 commit comments