[dts] [PATCH V1] tests/TestSuite_vxlan.py:Stop the port after the csum setting.

zhu,shuai shuaix.zhu at intel.com
Sun Feb 11 05:06:13 CET 2018

diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 17a34d4..ab9f691 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -657,11 +657,13 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
         self.dut.send_expect('vlan set filter off %d' %self.dut_port, "testpmd")
         # enable tx checksum offload
         self.dut.send_expect("set fwd csum", "testpmd>", 10)
+        self.dut.send_expect("port stop all", "testpmd>")
         self.csum_set_type('ip', self.recv_port)
         self.csum_set_type('outer-ip', self.recv_port)
         self.csum_set_type('udp', self.recv_port)
         self.csum_set_type('tcp', self.recv_port)
         self.csum_set_type('sctp', self.recv_port)
+        self.dut.send_expect("port start all", "testpmd>")
         self.dut.send_expect("csum parse_tunnel on %d" %
                              self.recv_port, "testpmd>", 10)

More information about the dts mailing list