diff options
| author | Keith Busch <kbusch@kernel.org> | 2024-11-14 00:57:04 +0300 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2024-11-18 20:17:26 +0300 |
| commit | 6399a0db8cd61eedbfb4b7809a4f4699157a9bf8 (patch) | |
| tree | bbeca3d9cc06ae9b971de233be59adea19f2d2f0 /include/linux | |
| parent | 979c6342f9c0a48696a6420f14f9dd409591657f (diff) | |
| download | linux-6399a0db8cd61eedbfb4b7809a4f4699157a9bf8.tar.xz | |
nvme: define the remaining used sgls constants
This provides a little more context when reading the code than hardcoded
magic numbers.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvme.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 5873ce859cc8..2baf9a80b470 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -389,7 +389,11 @@ enum { NVME_CTRL_CTRATT_PREDICTABLE_LAT = 1 << 5, NVME_CTRL_CTRATT_NAMESPACE_GRANULARITY = 1 << 7, NVME_CTRL_CTRATT_UUID_LIST = 1 << 9, + NVME_CTRL_SGLS_BYTE_ALIGNED = 1, + NVME_CTRL_SGLS_DWORD_ALIGNED = 2, + NVME_CTRL_SGLS_KSDBDS = 1 << 2, NVME_CTRL_SGLS_MSDS = 1 << 19, + NVME_CTRL_SGLS_SAOS = 1 << 20, }; struct nvme_lbaf { |
