gazelle/0085-expand-thread-rpc-msg-pool-size.patch
wu-changsheng 39d8cb9a2f expand thread rpc msg pool size
(cherry picked from commit 07e022000158492dc204b7d203d110fcb1560b85)
2022-09-05 17:50:51 +08:00

26 lines
775 B
Diff

From 6c88041590ef9f79e85a243fa905267898f3ab98 Mon Sep 17 00:00:00 2001
From: wu-changsheng <wuchangsheng2@huawei.com>
Date: Mon, 5 Sep 2022 16:54:55 +0800
Subject: [PATCH] expand thread rpc msg pool size
---
src/lstack/core/lstack_thread_rpc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lstack/core/lstack_thread_rpc.c b/src/lstack/core/lstack_thread_rpc.c
index a6e9725..c9fc4e9 100644
--- a/src/lstack/core/lstack_thread_rpc.c
+++ b/src/lstack/core/lstack_thread_rpc.c
@@ -23,7 +23,7 @@
#include "lstack_dpdk.h"
#include "lstack_thread_rpc.h"
-#define RPC_MSG_MAX 32
+#define RPC_MSG_MAX 512
#define RPC_MSG_MASK (RPC_MSG_MAX - 1)
struct rpc_msg_pool {
struct rpc_msg msgs[RPC_MSG_MAX];
--
2.23.0