test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
@ 2016-02-26  6:57 Lijuan Tu
  2016-02-26  7:37 ` Pei, Yulong
  0 siblings, 1 reply; 7+ messages in thread
From: Lijuan Tu @ 2016-02-26  6:57 UTC (permalink / raw)
  To: yong.liu, dts, yulong.pei, qian.q.xu

kernel driver turn on crc-strip as default

Signed-off-by: Lijuan Tu <lijuanx.a.tu@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-26  6:57 [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip Lijuan Tu
@ 2016-02-26  7:37 ` Pei, Yulong
  2016-02-28 12:45   ` Liu, Yong
  0 siblings, 1 reply; 7+ messages in thread
From: Pei, Yulong @ 2016-02-26  7:37 UTC (permalink / raw)
  To: Tu, LijuanX A, Liu, Yong, dts, Xu, Qian Q

Ack+

-----Original Message-----
From: Tu, LijuanX A 
Sent: Friday, February 26, 2016 2:58 PM
To: Liu, Yong <yong.liu@intel.com>; dts@dpdk.org; Pei, Yulong <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-26  7:37 ` Pei, Yulong
@ 2016-02-28 12:45   ` Liu, Yong
  2016-02-28 14:12     ` Xu, Qian Q
  2016-02-29  6:49     ` Tu, LijuanX A
  0 siblings, 2 replies; 7+ messages in thread
From: Liu, Yong @ 2016-02-28 12:45 UTC (permalink / raw)
  To: Pei, Yulong, Tu, LijuanX A, dts, Xu, Qian Q

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@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@intel.com>; dts@dpdk.org; Pei, Yulong
> <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
> Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-28 12:45   ` Liu, Yong
@ 2016-02-28 14:12     ` Xu, Qian Q
  2016-02-29  6:49     ` Tu, LijuanX A
  1 sibling, 0 replies; 7+ messages in thread
From: Xu, Qian Q @ 2016-02-28 14:12 UTC (permalink / raw)
  To: Liu, Yong; +Cc: dts

In my mind, all ixgbe pf crc default enabled

发自我的 iPhone

> 在 2016年2月28日,下午8:45,Liu, Yong <yong.liu@intel.com> 写道:
> 
> 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@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@intel.com>; dts@dpdk.org; Pei, Yulong
>> <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
>> Cc: Tu, LijuanX A <lijuanx.a.tu@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@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
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-28 12:45   ` Liu, Yong
  2016-02-28 14:12     ` Xu, Qian Q
@ 2016-02-29  6:49     ` Tu, LijuanX A
  2016-02-29  6:49       ` Xu, Qian Q
  1 sibling, 1 reply; 7+ messages in thread
From: Tu, LijuanX A @ 2016-02-29  6:49 UTC (permalink / raw)
  To: Liu, Yong, Pei, Yulong, dts, Xu, Qian Q

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@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@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@intel.com>; dts@dpdk.org; Pei, Yulong
> > <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
> > Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-29  6:49     ` Tu, LijuanX A
@ 2016-02-29  6:49       ` Xu, Qian Q
  2016-03-02  5:24         ` Liu, Yong
  0 siblings, 1 reply; 7+ messages in thread
From: Xu, Qian Q @ 2016-02-29  6:49 UTC (permalink / raw)
  To: Tu, LijuanX A, Liu, Yong, Pei, Yulong, dts

Yes

Thanks
Qian

-----Original Message-----
From: Tu, LijuanX A 
Sent: Monday, February 29, 2016 2:50 PM
To: Liu, Yong; Pei, Yulong; dts@dpdk.org; Xu, Qian Q
Subject: RE: [dts][PATCH]tests vf_packet_rxtx: turn on crc-strip

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@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@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@intel.com>; dts@dpdk.org; Pei, Yulong 
> > <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
> > Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip
  2016-02-29  6:49       ` Xu, Qian Q
@ 2016-03-02  5:24         ` Liu, Yong
  0 siblings, 0 replies; 7+ messages in thread
From: Liu, Yong @ 2016-03-02  5:24 UTC (permalink / raw)
  To: Xu, Qian Q, Tu, LijuanX A, Pei, Yulong, dts

Thanks all, applied.

On 02/29/2016 02:49 PM, Xu, Qian Q wrote:
> Yes
>
> Thanks
> Qian
>
> -----Original Message-----
> From: Tu, LijuanX A
> Sent: Monday, February 29, 2016 2:50 PM
> To: Liu, Yong; Pei, Yulong; dts@dpdk.org; Xu, Qian Q
> Subject: RE: [dts][PATCH]tests vf_packet_rxtx: turn on crc-strip
>
> 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@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@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@intel.com>; dts@dpdk.org; Pei, Yulong
>>> <yulong.pei@intel.com>; Xu, Qian Q <qian.q.xu@intel.com>
>>> Cc: Tu, LijuanX A <lijuanx.a.tu@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@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-02  5:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26  6:57 [dts] [PATCH]tests vf_packet_rxtx: turn on crc-strip Lijuan Tu
2016-02-26  7:37 ` Pei, Yulong
2016-02-28 12:45   ` Liu, Yong
2016-02-28 14:12     ` Xu, Qian Q
2016-02-29  6:49     ` Tu, LijuanX A
2016-02-29  6:49       ` Xu, Qian Q
2016-03-02  5:24         ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).