diff --git a/0085-expand-thread-rpc-msg-pool-size.patch b/0085-expand-thread-rpc-msg-pool-size.patch new file mode 100644 index 0000000..f76a0f7 --- /dev/null +++ b/0085-expand-thread-rpc-msg-pool-size.patch @@ -0,0 +1,25 @@ +From 6c88041590ef9f79e85a243fa905267898f3ab98 Mon Sep 17 00:00:00 2001 +From: wu-changsheng +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 + diff --git a/gazelle.spec b/gazelle.spec index 48550f9..8f5ecbe 100644 --- a/gazelle.spec +++ b/gazelle.spec @@ -2,7 +2,7 @@ Name: gazelle Version: 1.0.1 -Release: 14 +Release: 15 Summary: gazelle is a high performance user-mode stack License: MulanPSL-2.0 URL: https://gitee.com/openeuler/gazelle @@ -99,6 +99,7 @@ Patch9081: 0081-read-data-with-err-event.patch Patch9082: 0082-del-gazelle-ring-cons.tail-atomic-protect.patch Patch9083: 0083-fix-send-return-vale.patch Patch9084: 0084-add-examples.patch +Patch9085: 0085-expand-thread-rpc-msg-pool-size.patch %description %{name} is a high performance user-mode stack. @@ -139,6 +140,9 @@ install -Dpm 0640 %{_builddir}/%{name}-%{version}/src/ltran/ltran.conf %{b %config(noreplace) %{conf_path}/ltran.conf %changelog +* Mon Sep 05 2022 wuchangsheng - 1.0.1-15 +- expand rpc msg pool size + * Mon Sep 05 2022 wuchangsheng - 1.0.1-14 - backport bugfix and doc