6 DPDK_VERSION=dpdk-17.05
7 ROOTDIR=/tmp/openvpp-testing
11 # Setting command line arguments
17 # Try to kill the testpmd
19 if [ $? -eq "0" ]; then
23 for attempt in {1..5}; do
24 echo "Checking if testpmd is still alive, attempt nr ${attempt}"
26 if [ $? -eq "1" ]; then
27 echo "testpmd is dead"
31 echo "testpmd is still alive, waiting 1 second"
34 if [ "$success" = false ]; then
35 echo "The command sudo pkill testpmd failed"
41 echo "testpmd is not running"
45 sudo rm -f /dev/hugepages/*
49 cd ${ROOTDIR}/${DPDK_VERSION}/
51 if [ "$jumbo_frames" = "yes" ]; then
52 sudo sh -c "screen -dmSL DPDK-test ./x86_64-native-linuxapp-gcc/app/testpmd \
53 -l ${cpu_corelist} -n 4 -- \
57 --nb-cores=${nb_cores} \
62 --txq=$((${nb_cores} + 1)) \
66 --disable-link-check \
69 sudo sh -c "screen -dmSL DPDK-test ./x86_64-native-linuxapp-gcc/app/testpmd \
70 -l ${cpu_corelist} -n 4 -- \
74 --nb-cores=${nb_cores} \
77 --txq=$((${nb_cores} + 1)) \
81 --disable-link-check \