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

Tu, LijuanX A lijuanx.a.tu at intel.com
Mon Feb 29 07:49:34 CET 2016


Hi Yong,
	I have talk about crc-strip with Qian , and we think "set crc-strip on" is no harm.

> -----Original Message-----
> From: Liu, Yong
> Sent: Sunday, February 28, 2016 8:45 PM
> To: Pei, Yulong; Tu, LijuanX A; dts at dpdk.org; Xu, Qian Q
> Subject: RE: [dts][PATCH]tests vf_packet_rxtx: turn on crc-strip
> 
> Hi Lijuan, I remember only FVL PF driver enable crc-strip by default.
> Please correct if I'm wrong.
> 
> > -----Original Message-----
> > From: Pei, Yulong
> > Sent: Friday, February 26, 2016 3:37 PM
> > To: Tu, LijuanX A; Liu, Yong; dts at dpdk.org; Xu, Qian Q
> > Subject: RE: [dts][PATCH]tests vf_packet_rxtx: turn on crc-strip
> >
> > 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