]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: qrtr: ns: Raise node count limit to 512
authorYoussef Samir <youssef.abdulrahman@oss.qualcomm.com>
Mon, 13 Jul 2026 14:59:01 +0000 (16:59 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Jul 2026 22:13:14 +0000 (15:13 -0700)
The current node limit of 64 breaks the functionality for a number of AI200
deployments that have up to 384 nodes. Raise the limit to 512.

Fixes: 27d5e84e810b ("net: qrtr: ns: Limit the total number of nodes")
Cc: stable@vger.kernel.org
Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com>
Link: https://patch.msgid.link/20260713145901.212396-1-youssef.abdulrahman@oss.qualcomm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/qrtr/ns.c

index b3f9bbcf9ab9ba1b383670b838a729cb05fb72b5..e5b2adb161d92d9dfed2efaa36457f5007e4e80a 100644 (file)
@@ -76,11 +76,11 @@ struct qrtr_node {
  * requirements. If the requirement changes in the future, these values can be
  * increased.
  */
-#define QRTR_NS_MAX_NODES   64
+#define QRTR_NS_MAX_NODES   512
 #define QRTR_NS_MAX_SERVERS 256
 #define QRTR_NS_MAX_LOOKUPS 64
 
-static u8 node_count;
+static u16 node_count;
 
 static struct qrtr_node *node_get(unsigned int node_id)
 {