Commit 19cc7c9
committed
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 <[email protected]>1 parent 4cef519 commit 19cc7c9
2 files changed
Lines changed: 5 additions & 1 deletion
| 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 | |
|---|---|---|---|
| |||
9995 | 9995 | | |
9996 | 9996 | | |
9997 | 9997 | | |
| 9998 | + | |
| 9999 | + | |
9998 | 10000 | | |
9999 | 10001 | | |
10000 | 10002 | | |
| |||
10016 | 10018 | | |
10017 | 10019 | | |
10018 | 10020 | | |
| 10021 | + | |
| 10022 | + | |
10019 | 10023 | | |
10020 | 10024 | | |
10021 | 10025 | | |
| |||
0 commit comments