[dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip

Pei, Yulong yulong.pei at intel.com
Fri Feb 26 08:37:01 CET 2016


Ack+

-----Original Message-----
From: Tu, LijuanX A 
Sent: Friday, February 26, 2016 2:58 PM
To: Liu, Yong <yong.liu at intel.com>; dts at dpdk.org; Pei, Yulong <yulong.pei at intel.com>; Xu, Qian Q <qian.q.xu at intel.com>
Cc: Tu, LijuanX A <lijuanx.a.tu at intel.com>
Subject: [dts][PATCH]tests vf_packet_rxtx: turn on crc-strip

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