diff options
| author | Max Gurtovoy <[email protected]> | 2024-01-23 16:40:32 +0200 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-03-02 15:18:08 -0800 |
| commit | f096ba3286f5e773c496cf81667d01f2e8a2a37b (patch) | |
| tree | abbd2d89598d1ec6ea9d510a4c1dc25d74d95cfd /include | |
| parent | ca2b221d89a81849a2f4a25d024a3d527a210ab6 (diff) | |
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Israel Rukshin <[email protected]>
Signed-off-by: Max Gurtovoy <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/nvme-rdma.h | 3 |
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, |