diff options
author | 2019-04-03 12:01:09 +0000 | |
---|---|---|
committer | 2019-04-03 12:01:09 +0000 | |
commit | 1a18eec5affd1804d0648eaaeb3ce9fb1757a85e (patch) | |
tree | 19257cfcc939c43a354e3ffc388fb8d22b8028bc /stacks/lwip_stack/release/script/nstack_fun.sh | |
parent | db9dffb1beafa94b9341c9638887b1c6c8768377 (diff) | |
parent | ab0c198b32bebf85f88a241de8fab08f5653f90e (diff) |
Merge "Fix: LWIP performance enhancement [iperf tool]"
Diffstat (limited to 'stacks/lwip_stack/release/script/nstack_fun.sh')
-rwxr-xr-x | stacks/lwip_stack/release/script/nstack_fun.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/stacks/lwip_stack/release/script/nstack_fun.sh b/stacks/lwip_stack/release/script/nstack_fun.sh index fed3588..df62e1e 100755 --- a/stacks/lwip_stack/release/script/nstack_fun.sh +++ b/stacks/lwip_stack/release/script/nstack_fun.sh @@ -326,7 +326,12 @@ run_nStackMain() local script_path=$(cd "$(dirname "$0")"; pwd) export NSTACK_CONFIG_PATH=${script_path}/../configure export LD_LIBRARY_PATH=${script_path}/lib64/:$LD_LIBRARY_PATH - export NSTACK_LOG_ON=INF + if [ "$NSTACK_LOG_ON" = "PERF" ] + then + export NSTACK_LOG_ON=PERF + else + export NSTACK_LOG_ON=INF + fi log $LINENO "$env NSTACK_CONFIG_PATH=$NSTACK_CONFIG_PATH" log $LINENO "$env DPDK_TOOL_DIR=$DPDK_TOOL_DIR" |