summaryrefslogtreecommitdiffstats
path: root/stacks/lwip_stack/release
diff options
context:
space:
mode:
authorYalei Wang <william.wangyalei@huawei.com>2018-10-22 11:25:43 +0800
committerYalei Wang <william.wangyalei@huawei.com>2018-10-24 09:33:04 +0800
commitd350c9ce98342afec8cb540296c2f3454952339a (patch)
tree81415e4e43d424b9cc0f80a5814c8ad929eab3c3 /stacks/lwip_stack/release
parente29af930882238ad7837b2ab48c0be3103e4c575 (diff)
Fix: set default core num '1' for lwip backend thread
Don't use the core 0 and stop sleep in lwip backend thread Change-Id: Ib0ca129e5d00523f6f4b64681a2d0b5429b3e3c0 Signed-off-by: Yalei Wang <william.wangyalei@huawei.com>
Diffstat (limited to 'stacks/lwip_stack/release')
-rw-r--r--stacks/lwip_stack/release/script/nstack_var.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/stacks/lwip_stack/release/script/nstack_var.sh b/stacks/lwip_stack/release/script/nstack_var.sh
index 9a1c612..a654d34 100644
--- a/stacks/lwip_stack/release/script/nstack_var.sh
+++ b/stacks/lwip_stack/release/script/nstack_var.sh
@@ -50,8 +50,10 @@ DPDK_NIC_LIST_FILE=$RUNTIME_DIR/.nstack_dpdk_nic_list
MAX_LOG_FILE_SIZE=52428800
HUGE_PAGES=2048
HUGE_DIR=/mnt/nstackhuge
+
SLEEP_INTERVAL=100 # tcpip thread sleep time, unit: us
-BIND_CPU=0
+BIND_CPU=1
+
MEM_SIZE=3072
RTP_CORE_MASK=2