[PATCH v1 00/10] Introduce new max-queue-size configuration
Max Gurtovoy
mgurtovoy at nvidia.com
Sat Dec 30 16:52:39 PST 2023
Hi Christoph/Sagi/Keith,
This patch series is mainly for adding a functionality for a user
to configure the maximal queue size for fabrics via port configfs. Using
this interface a user will be able to better control the system and HW
resouces.
Also, I've increased the maximal queue depth for RDMA controllers to be
256 after request from Guixin Liu. This new value will be valid only for
controllers that don't support PI.
While developing this feature I've made some minor cleanups to the header
files.
Max Gurtovoy (10):
nvme: remove unused definition
nvme-rdma: move NVME_RDMA_IP_PORT from common file
nvme-fabrics: move queue size definitions to common header
nvmet: remove NVMET_QUEUE_SIZE definition
nvmet: set maxcmd to be per controller
nvmet: set ctrl pi_support cap before initializing cap reg
nvme-rdma: introduce NVME_RDMA_MAX_METADATA_QUEUE_SIZE definition
nvme-rdma: clamp queue size according to ctrl cap
nvmet: introduce new max queue size configuration entry
nvmet-rdma: set max_queue_size for RDMA transport
drivers/nvme/host/fabrics.h | 3 ---
drivers/nvme/host/rdma.c | 19 ++++++++++++++-----
drivers/nvme/target/admin-cmd.c | 2 +-
drivers/nvme/target/configfs.c | 28 ++++++++++++++++++++++++++++
drivers/nvme/target/core.c | 17 +++++++++++++++--
drivers/nvme/target/discovery.c | 2 +-
drivers/nvme/target/fabrics-cmd.c | 2 --
drivers/nvme/target/nvmet.h | 4 ++--
drivers/nvme/target/passthru.c | 2 +-
drivers/nvme/target/rdma.c | 10 ++++++++++
include/linux/nvme-rdma.h | 6 +++++-
include/linux/nvme.h | 7 ++++---
12 files changed, 81 insertions(+), 21 deletions(-)
--
2.18.1
More information about the Linux-nvme
mailing list