From 9fc2f5d7e298c3f549ad7abccc01ee1b971068e2 Mon Sep 17 00:00:00 2001
From: jiangheng <jiangheng14@huawei.com>
Date: Sun, 16 Jun 2024 14:29:43 +0800
Subject: [PATCH] remove legacy-mem

---
 src/lstack/lstack.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lstack/lstack.conf b/src/lstack/lstack.conf
index 9cf967a..c65a25d 100644
--- a/src/lstack/lstack.conf
+++ b/src/lstack/lstack.conf
@@ -8,11 +8,11 @@
 # PURPOSE.
 # See the Mulan PSL v2 for more details.
 
-dpdk_args=["--socket-mem", "2048,0,0,0", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary", "--legacy-mem"]
+dpdk_args=["--socket-mem", "2048,0,0,0", "--huge-dir", "/mnt/hugepages-lstack", "--proc-type", "primary"]
 
 stack_thread_mode="run-to-wakeup"
 
-#ltran mode need add "--map-perfect" in dpdk_args
+#ltran mode need add "--map-perfect" and "--legacy-mem" in dpdk_args
 use_ltran=0
 kni_switch=0
 
-- 
2.33.0

