test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  update checksum offload cmd line
@ 2015-03-04  2:33 huilongx.xu
  2015-03-04  6:09 ` Liu, Yong
  0 siblings, 1 reply; 3+ messages in thread
From: huilongx.xu @ 2015-03-04  2:33 UTC (permalink / raw)
  To: dts; +Cc: root

From: root <root@localhost.localdomain>


Signed-off-by: root <root@localhost.localdomain>
---
 tests/TestSuite_checksum_offload.py |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/tests/TestSuite_checksum_offload.py b/tests/TestSuite_checksum_offload.py
index 1ebac0f..6277f50 100644
--- a/tests/TestSuite_checksum_offload.py
+++ b/tests/TestSuite_checksum_offload.py
@@ -74,21 +74,21 @@ class TestChecksumOffload(TestCase):
         Run before each test case.
         """
         if self.dut.want_func_tests:
-            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " % (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip")
+            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " % (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip --txqflags=0")
             self.dut.send_expect("set verbose 1", "testpmd>")
             self.dut.send_expect("set fwd csum", "testpmd>")
 
     def checksum_enablehw(self, port):
-            self.dut.send_expect("tx_checksum set ip hw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set udp hw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set tcp hw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set sctp hw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set ip hw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set udp hw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set tcp hw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set sctp hw %d" % port, "testpmd>")
 
     def checksum_enablesw(self, port):
-            self.dut.send_expect("tx_checksum set ip sw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set udp sw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set tcp sw %d" % port, "testpmd>")
-            self.dut.send_expect("tx_checksum set sctp sw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set ip sw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set udp sw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set tcp sw %d" % port, "testpmd>")
+            self.dut.send_expect("csum set sctp sw %d" % port, "testpmd>")
 
     def checksum_validate(self, packets_sent, packets_expected):
         """
-- 
1.7.4.4

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

* Re: [dts] update checksum offload cmd line
  2015-03-04  2:33 [dts] update checksum offload cmd line huilongx.xu
@ 2015-03-04  6:09 ` Liu, Yong
  2015-03-04  6:11   ` Liu, Yong
  0 siblings, 1 reply; 3+ messages in thread
From: Liu, Yong @ 2015-03-04  6:09 UTC (permalink / raw)
  To: Xu, HuilongX, dts; +Cc: root

Applied, thanks. Do not forget to configure your git username and email correctly:)

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilongx.xu
> Sent: Wednesday, March 04, 2015 10:33 AM
> To: dts@dpdk.org
> Cc: root
> Subject: [dts] update checksum offload cmd line
> 
> From: root <root@localhost.localdomain>
> 
> 
> Signed-off-by: root <root@localhost.localdomain>
> ---
>  tests/TestSuite_checksum_offload.py |   18 +++++++++---------
>  1 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/tests/TestSuite_checksum_offload.py
> b/tests/TestSuite_checksum_offload.py
> index 1ebac0f..6277f50 100644
> --- a/tests/TestSuite_checksum_offload.py
> +++ b/tests/TestSuite_checksum_offload.py
> @@ -74,21 +74,21 @@ class TestChecksumOffload(TestCase):
>          Run before each test case.
>          """
>          if self.dut.want_func_tests:
> -            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " %
> (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip")
> +            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " %
> (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip --
> txqflags=0")
>              self.dut.send_expect("set verbose 1", "testpmd>")
>              self.dut.send_expect("set fwd csum", "testpmd>")
> 
>      def checksum_enablehw(self, port):
> -            self.dut.send_expect("tx_checksum set ip hw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set udp hw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set tcp hw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set sctp hw %d" % port,
> "testpmd>")
> +            self.dut.send_expect("csum set ip hw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set udp hw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set tcp hw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set sctp hw %d" % port, "testpmd>")
> 
>      def checksum_enablesw(self, port):
> -            self.dut.send_expect("tx_checksum set ip sw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set udp sw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set tcp sw %d" % port,
> "testpmd>")
> -            self.dut.send_expect("tx_checksum set sctp sw %d" % port,
> "testpmd>")
> +            self.dut.send_expect("csum set ip sw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set udp sw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set tcp sw %d" % port, "testpmd>")
> +            self.dut.send_expect("csum set sctp sw %d" % port, "testpmd>")
> 
>      def checksum_validate(self, packets_sent, packets_expected):
>          """
> --
> 1.7.4.4

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

* Re: [dts] update checksum offload cmd line
  2015-03-04  6:09 ` Liu, Yong
@ 2015-03-04  6:11   ` Liu, Yong
  0 siblings, 0 replies; 3+ messages in thread
From: Liu, Yong @ 2015-03-04  6:11 UTC (permalink / raw)
  To: Xu, HuilongX, dts

Huilong,
Please add more detail information in git log, such as in which patch these commands changed.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Liu, Yong
> Sent: Wednesday, March 04, 2015 2:09 PM
> To: Xu, HuilongX; dts@dpdk.org
> Cc: root
> Subject: Re: [dts] update checksum offload cmd line
> 
> Applied, thanks. Do not forget to configure your git username and email
> correctly:)
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of huilongx.xu
> > Sent: Wednesday, March 04, 2015 10:33 AM
> > To: dts@dpdk.org
> > Cc: root
> > Subject: [dts] update checksum offload cmd line
> >
> > From: root <root@localhost.localdomain>
> >
> >
> > Signed-off-by: root <root@localhost.localdomain>
> > ---
> >  tests/TestSuite_checksum_offload.py |   18 +++++++++---------
> >  1 files changed, 9 insertions(+), 9 deletions(-)
> >
> > diff --git a/tests/TestSuite_checksum_offload.py
> > b/tests/TestSuite_checksum_offload.py
> > index 1ebac0f..6277f50 100644
> > --- a/tests/TestSuite_checksum_offload.py
> > +++ b/tests/TestSuite_checksum_offload.py
> > @@ -74,21 +74,21 @@ class TestChecksumOffload(TestCase):
> >          Run before each test case.
> >          """
> >          if self.dut.want_func_tests:
> > -            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " %
> > (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip")
> > +            self.pmdout.start_testpmd("1S/2C/2T", "--portmask=%s " %
> > (self.portMask) + "--disable-hw-vlan --enable-rx-cksum --crc-strip --
> > txqflags=0")
> >              self.dut.send_expect("set verbose 1", "testpmd>")
> >              self.dut.send_expect("set fwd csum", "testpmd>")
> >
> >      def checksum_enablehw(self, port):
> > -            self.dut.send_expect("tx_checksum set ip hw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set udp hw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set tcp hw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set sctp hw %d" % port,
> > "testpmd>")
> > +            self.dut.send_expect("csum set ip hw %d" % port, "testpmd>")
> > +            self.dut.send_expect("csum set udp hw %d" % port,
> "testpmd>")
> > +            self.dut.send_expect("csum set tcp hw %d" % port,
> "testpmd>")
> > +            self.dut.send_expect("csum set sctp hw %d" % port,
> "testpmd>")
> >
> >      def checksum_enablesw(self, port):
> > -            self.dut.send_expect("tx_checksum set ip sw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set udp sw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set tcp sw %d" % port,
> > "testpmd>")
> > -            self.dut.send_expect("tx_checksum set sctp sw %d" % port,
> > "testpmd>")
> > +            self.dut.send_expect("csum set ip sw %d" % port, "testpmd>")
> > +            self.dut.send_expect("csum set udp sw %d" % port,
> "testpmd>")
> > +            self.dut.send_expect("csum set tcp sw %d" % port,
> "testpmd>")
> > +            self.dut.send_expect("csum set sctp sw %d" % port,
> "testpmd>")
> >
> >      def checksum_validate(self, packets_sent, packets_expected):
> >          """
> > --
> > 1.7.4.4

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

end of thread, other threads:[~2015-03-04  6:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-04  2:33 [dts] update checksum offload cmd line huilongx.xu
2015-03-04  6:09 ` Liu, Yong
2015-03-04  6:11   ` 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).