[dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
Lijuan Tu
lijuanx.a.tu at intel.com
Fri Feb 26 07:57:40 CET 2016
kernel driver turn on crc-strip as default
Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
---
tests/TestSuite_vf_packet_rxtx.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index def7816..a632a44 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -110,6 +110,9 @@ class TestVfPacketRxtx(TestCase):
port_id_0 = 0
self.vm0_testpmd = PmdOutput(self.vm_dut_0)
self.vm0_testpmd.start_testpmd(VM_CORES_MASK)
+ self.vm0_testpmd.execute_cmd('port stop all')
+ self.vm0_testpmd.execute_cmd('port config all crc-strip on')
+ self.vm0_testpmd.execute_cmd('port start all')
self.vm0_testpmd.execute_cmd('show port info all')
pmd_vf0_mac = self.vm0_testpmd.get_port_mac(port_id_0)
self.vm0_testpmd.execute_cmd('set fwd mac')
--
2.5.0
More information about the dts
mailing list