diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-04-24 10:58:29 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-07-02 14:59:04 +0300 |
commit | d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0 (patch) | |
tree | a49edb59f2ff8a3bae2fe275ac9afcb740fa402d /drivers/nvme/host/nvme.h | |
parent | d554b5e1ca64d23e4f839e6531490fee8479fbaf (diff) | |
download | op-kernel-dev-d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0.zip op-kernel-dev-d858e5f04e58a42a6e0c8ec74ea15e3ea4bb45d0.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index d70ff0f..6c51d92 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; |