[dts] [PATCH 1/2] tests/vf_packet_rxtx: fix test case failures in vf_reset
Joyce Kong
joyce.kong at arm.com
Tue Mar 6 03:39:41 CET 2018
Clear port stats before counting port info
Signed-off-by: Joyce Kong <joyce.kong at arm.com>
---
tests/TestSuite_vf_packet_rxtx.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index 63f4820..6a29d23 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -279,6 +279,7 @@ class TestVfPacketRxtx(TestCase):
rx_port = tx_port
dst_mac = pmd0_vf0_mac
+ self.vm0_testpmd.execute_cmd('clear port stats all')
self.tester.sendpkt_bg(tx_port, dst_mac)
#vf port stop/start can trigger reset action
--
1.8.3.1
More information about the dts
mailing list