summaryrefslogtreecommitdiffstats
path: root/include/linux/nvme.h
diff options
context:
space:
mode:
authorSagi Grimberg2017-06-18 15:15:59 +0200
committerJens Axboe2017-06-28 16:14:13 +0200
commit7aa1f42752f0d31a5bb6d0d5bac92fc8c2044ce2 (patch)
tree7b15db4035fa5b796737025efb48efd4aa00e216 /include/linux/nvme.h
parentnvme: add hostid token to fabric options (diff)
downloadkernel-qcow2-linux-7aa1f42752f0d31a5bb6d0d5bac92fc8c2044ce2.tar.gz
kernel-qcow2-linux-7aa1f42752f0d31a5bb6d0d5bac92fc8c2044ce2.tar.xz
kernel-qcow2-linux-7aa1f42752f0d31a5bb6d0d5bac92fc8c2044ce2.zip
nvme: use a single NVME_AQ_DEPTH and relax it to 32
No need to differentiate fabrics from pci/loop, also lower it to 32 as we don't really need 256 inflight admin commands. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r--include/linux/nvme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index f516a975bb21..6b8ee9e628e1 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -87,7 +87,7 @@ enum {
NVMF_RDMA_CMS_RDMA_CM = 1, /* Sockets based endpoint addressing */
};
-#define NVMF_AQ_DEPTH 32
+#define NVME_AQ_DEPTH 32
enum {
NVME_REG_CAP = 0x0000, /* Controller Capabilities */