summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 17:16:10 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-13 11:45:35 +0200
commitfe6d53c9c0bb51977521d409a2efe453b7123c39 (patch)
tree5c67459870c18a82174f0ab8f6d521b9c199b5c0 /drivers/nvme/host/nvme.h
parentb85cf7348ab50e2042b732e19031b1d22eedc741 (diff)
downloadlinux-fe6d53c9c0bb51977521d409a2efe453b7123c39.tar.bz2
nvme: save hmpre and hmmin in struct nvme_ctrl
We'll need the later for the HMB support. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r--drivers/nvme/host/nvme.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 22ee60b2a3e8..e2e341bba619 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -166,6 +166,9 @@ struct nvme_ctrl {
/* Power saving configuration */
u64 ps_max_latency_us;
+ u32 hmpre;
+ u32 hmmin;
+
/* Fabrics only */
u16 sqsize;
u32 ioccsz;