nvme: Move ctrl sqsize to generic space
authorKeith Busch <kbusch@kernel.org>
Thu, 26 Sep 2019 03:44:39 +0000 (12:44 +0900)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 26 Sep 2019 20:00:47 +0000 (13:00 -0700)
This isn't specific to fabrics.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/nvme.h

index b5013c1..38a83ef 100644 (file)
@@ -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;