summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2019-09-26 05:44:39 +0200
committerSagi Grimberg <sagi@grimberg.me>2019-09-26 22:00:47 +0200
commitf968688f44f529f96a64c9853fb2fb5d0a329aff (patch)
tree806509161f915765b3c3813ab1bf3cfa4cc30116 /drivers
parentnvme: Add ctrl attributes for queue_count and sqsize (diff)
downloadlinux-f968688f44f529f96a64c9853fb2fb5d0a329aff.tar.xz
linux-f968688f44f529f96a64c9853fb2fb5d0a329aff.zip
nvme: Move ctrl sqsize to generic space
This isn't specific to fabrics. Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/nvme/host/nvme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index b5013c101b35..38a83ef5bcd3 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -221,6 +221,7 @@ struct nvme_ctrl {
u16 oacs;
u16 nssa;
u16 nr_streams;
+ u16 sqsize;
u32 max_namespaces;
atomic_t abort_limit;
u8 vwc;
@@ -269,7 +270,6 @@ struct nvme_ctrl {
u16 hmmaxd;
/* Fabrics only */
- u16 sqsize;
u32 ioccsz;
u32 iorcsz;
u16 icdoff;