diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-10-21 01:00:41 +0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 23:53:05 +0400 |
commit | f1938f6e1ee1583c87ec74dc406fdd8694e99ac8 (patch) | |
tree | a1e27b0feb844ac675ba90230e8411dce7a86f71 /include/linux/nvme.h | |
parent | ce38c149576fd0a3360fec3bef4012212d42e736 (diff) | |
download | linux-f1938f6e1ee1583c87ec74dc406fdd8694e99ac8.tar.xz |
NVMe: Implement doorbell stride capability
The doorbell stride allows devices to spread out their doorbells instead
of packing them tightly. This feature was added as part of ECN 003.
This patch also enables support for more than 512 queues :-)
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r-- | include/linux/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index c96ab0f5ef6f..2a2c535c8345 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -36,6 +36,7 @@ struct nvme_bar { }; #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) +#define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) enum { NVME_CC_ENABLE = 1 << 0, |