aboutsummaryrefslogtreecommitdiff
path: root/test/performance
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2015-08-12 13:12:33 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2015-08-12 13:12:33 +0300
commit13297ddfc96397e9c177a8e6bfa2a001bfb767cd (patch)
tree070d28acaf3abfe70e7c27acb4be18ed8ea01a56 /test/performance
parentd8b3ffe6552ef72f6d6dd4ff35ef541c2c5d1393 (diff)
parentb81c7d800ac35866553779743ec766f69cc9f8c2 (diff)
Merge branch 'master' into api-next
Diffstat (limited to 'test/performance')
-rwxr-xr-xtest/performance/odp_l2fwd_run3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/performance/odp_l2fwd_run b/test/performance/odp_l2fwd_run
index e89bec8a5..c20a3e1f3 100755
--- a/test/performance/odp_l2fwd_run
+++ b/test/performance/odp_l2fwd_run
@@ -59,10 +59,13 @@ run_l2fwd()
(odp_generator${EXEEXT} -I $IF0 \
--srcip 192.168.0.1 --dstip 192.168.0.2 -m u 2>&1 > /dev/null) \
2>&1 > /dev/null &
+ GEN_PID=$!
echo "Run odp_l2fwd -i $IF1,$IF2 -m 0 -t 30 -c 2"
odp_l2fwd${EXEEXT} -i $IF1,$IF2 -m 0 -t 30 -c 2
+ kill ${GEN_PID}
+
cleanup_pktio_env
if [ $? -ne 0 ]; then
echo "cleanup_pktio_env error $?"