summaryrefslogtreecommitdiff
path: root/include/linux/nvme-rdma.h
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2024-01-23 17:40:32 +0300
committerKeith Busch <kbusch@kernel.org>2024-03-03 02:18:08 +0300
commitf096ba3286f5e773c496cf81667d01f2e8a2a37b (patch)
treeabbd2d89598d1ec6ea9d510a4c1dc25d74d95cfd /include/linux/nvme-rdma.h
parentca2b221d89a81849a2f4a25d024a3d527a210ab6 (diff)
downloadlinux-f096ba3286f5e773c496cf81667d01f2e8a2a37b.tar.xz
nvmet-rdma: set max_queue_size for RDMA transport
A new port configuration was added to set max_queue_size. Clamp user configuration to RDMA transport limits. Increase the maximal queue size of RDMA controllers from 128 to 256 (the default size stays 128 same as before). Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Israel Rukshin <israelr@nvidia.com> Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux/nvme-rdma.h')
-rw-r--r--include/linux/nvme-rdma.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nvme-rdma.h b/include/linux/nvme-rdma.h
index d0b9941911a1..eb2f04d636c8 100644
--- a/include/linux/nvme-rdma.h
+++ b/include/linux/nvme-rdma.h
@@ -8,8 +8,9 @@
#define NVME_RDMA_IP_PORT 4420
-#define NVME_RDMA_MAX_QUEUE_SIZE 128
+#define NVME_RDMA_MAX_QUEUE_SIZE 256
#define NVME_RDMA_MAX_METADATA_QUEUE_SIZE 128
+#define NVME_RDMA_DEFAULT_QUEUE_SIZE 128
enum nvme_rdma_cm_fmt {
NVME_RDMA_CM_FMT_1_0 = 0x0,