summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorSagi Grimberg2017-04-24 09:58:29 +0200
committerSagi Grimberg2017-07-02 13:59:04 +0200
commitd858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0 (patch)
treea49edb59f2ff8a3bae2fe275ac9afcb740fa402d /drivers/nvme/host/nvme.h
parentnvme: Quirks for PM1725 controllers (diff)
downloadkernel-qcow2-linux-d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0.tar.gz
kernel-qcow2-linux-d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0.tar.xz
kernel-qcow2-linux-d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0.zip
nvme: move queue_count to the nvme_ctrl
All all transports use the queue_count in exactly the same, so move it to the generic struct nvme_ctrl. In the future it will also be maintained by the core. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-By: James Smart <james.smart@broadcom.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-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 d70ff0fdd36b..6c51d92b7fab 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -142,6 +142,7 @@ struct nvme_ctrl {
u16 cntlid;
u32 ctrl_config;
+ u32 queue_count;
u32 page_size;
u32 max_hw_sectors;