[dts] [PATCH] tests/pmdpcap: don't flush pcap rx streams before forwarding

Jianbo Liu jianbo.liu at linaro.org
Mon Aug 7 03:47:45 CEST 2017


Signed-off-by: Jianbo Liu <jianbo.liu at linaro.org>
---
 tests/TestSuite_pmdpcap.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_pmdpcap.py b/tests/TestSuite_pmdpcap.py
index a51eb31..843a498 100644
--- a/tests/TestSuite_pmdpcap.py
+++ b/tests/TestSuite_pmdpcap.py
@@ -126,7 +126,7 @@ class TestPmdPcap(TestCase):
 
         command = ("./{}/app/testpmd -c {} -n {} " +
                    "--vdev=eth_pcap0,rx_pcap={},tx_pcap={} " +
-                   "-- -i --port-topology=chained")
+                   "-- -i --port-topology=chained --no-flush-rx")
         if "cavium" in self.dut.nic_type:
             command += " --disable-hw-vlan-filter"
 
@@ -162,7 +162,7 @@ class TestPmdPcap(TestCase):
         command = ("./{}/app/testpmd -c {} -n {} " +
                    "--vdev=eth_pcap0,rx_pcap={},tx_pcap={} " +
                    "--vdev=eth_pcap1,rx_pcap={},tx_pcap={} " +
-                   "-- -i")
+                   "-- -i --no-flush-rx")
         if "cavium" in self.dut.nic_type:
             command += " --disable-hw-vlan-filter"
 
-- 
1.9.1



More information about the dts mailing list