aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2018-11-02 10:28:14 -0700
committerJens Axboe <axboe@kernel.dk>2018-12-07 22:26:55 -0700
commit3e53ba38a9404434a8b57683825279f4305b5a76 (patch)
treef34cc4de097835043618fe5e0b7249192be9259e /drivers/nvme/host/nvme.h
parentnvme: introduce ctrl attributes enumeration (diff)
downloadlinux-dev-3e53ba38a9404434a8b57683825279f4305b5a76.tar.xz
linux-dev-3e53ba38a9404434a8b57683825279f4305b5a76.zip
nvme: cache controller attributes
We get the controller attributes in identify, cache them as we'll need them for traffic based keep alive support. Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--drivers/nvme/host/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index f1e4566e6ca8..4be7bbcfe66d 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -194,6 +194,7 @@ struct nvme_ctrl {
u8 apsta;
u32 oaes;
u32 aen_result;
+ u32 ctratt;
unsigned int shutdown_timeout;
unsigned int kato;
bool subsystem;