summaryrefslogtreecommitdiff
path: root/tests/system-dpdk.at
diff options
context:
space:
mode:
authorEmma Finn <emma.finn@intel.com>2021-01-19 12:01:22 +0000
committerIlya Maximets <i.maximets@ovn.org>2021-01-27 17:38:43 +0100
commit9049a11f0110cceb932054bf07df8d719ee8f1c2 (patch)
treecf5f18d4592660703be49fdbd53442c0f1cf9dad /tests/system-dpdk.at
parent25eb72a26b18235207d1c7a614a2f30a725bfa77 (diff)
downloadopenvswitch-9049a11f0110cceb932054bf07df8d719ee8f1c2.tar.gz
system-dpdk: Fix 4th and 5th testcases of the system-dpdk testsuite.
Testpmd has been renamed to dpdk-testpmd as of DPDK 20.11. This commit resolves this issue and fixes these tests. Signed-off-by: Emma Finn <emma.finn@intel.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests/system-dpdk.at')
-rw-r--r--tests/system-dpdk.at8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/system-dpdk.at b/tests/system-dpdk.at
index a015d52f7..802895488 100644
--- a/tests/system-dpdk.at
+++ b/tests/system-dpdk.at
@@ -85,7 +85,7 @@ dnl Ping vhost-user port
AT_SETUP([OVS-DPDK - ping vhost-user ports])
AT_KEYWORDS([dpdk])
OVS_DPDK_PRE_CHECK()
-AT_SKIP_IF([! which testpmd >/dev/null 2>/dev/null])
+AT_SKIP_IF([! which dpdk-testpmd >/dev/null 2>/dev/null])
OVS_DPDK_START()
dnl Find number of sockets
@@ -115,7 +115,7 @@ ADD_VETH(tap1, ns2, br10, "172.31.110.12/24")
dnl Execute testpmd in background
on_exit "pkill -f -x -9 'tail -f /dev/null'"
-tail -f /dev/null | testpmd --socket-mem="$(cat NUMA_NODE)" --no-pci\
+tail -f /dev/null | dpdk-testpmd --socket-mem="$(cat NUMA_NODE)" --no-pci\
--vdev="net_virtio_user,path=$OVS_RUNDIR/dpdkvhostuser0" \
--vdev="net_tap0,iface=tap0" --file-prefix page0 \
--single-file-segments -- -a >$OVS_RUNDIR/testpmd-dpdkvhostuser0.log 2>&1 &
@@ -162,7 +162,7 @@ dnl Ping vhost-user-client port
AT_SETUP([OVS-DPDK - ping vhost-user-client ports])
AT_KEYWORDS([dpdk])
OVS_DPDK_PRE_CHECK()
-AT_SKIP_IF([! which testpmd >/dev/null 2>/dev/null])
+AT_SKIP_IF([! which dpdk-testpmd >/dev/null 2>/dev/null])
OVS_DPDK_START()
dnl Find number of sockets
@@ -191,7 +191,7 @@ ADD_VETH(tap1, ns2, br10, "172.31.110.12/24")
dnl Execute testpmd in background
on_exit "pkill -f -x -9 'tail -f /dev/null'"
-tail -f /dev/null | testpmd --socket-mem="$(cat NUMA_NODE)" --no-pci\
+tail -f /dev/null | dpdk-testpmd --socket-mem="$(cat NUMA_NODE)" --no-pci\
--vdev="net_virtio_user,path=$OVS_RUNDIR/dpdkvhostclient0,server=1" \
--vdev="net_tap0,iface=tap0" --file-prefix page0 \
--single-file-segments -- -a >$OVS_RUNDIR/testpmd-dpdkvhostuserclient0.log 2>&1 &