test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Tu, LijuanX A" <lijuanx.a.tu@intel.com>,
	"Xu, GangX" <gangx.xu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xu, GangX" <gangx.xu@intel.com>
Subject: Re: [dts] [PATCH V4] stop port before csum set
Date: Tue, 30 Jan 2018 02:52:49 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F7AE4E@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <38D041F150D4184C8114E499040E62343DCA904F@SHSMSX103.ccr.corp.intel.com>

Lijuan, thanks for clear.

> -----Original Message-----
> From: Tu, LijuanX A
> Sent: Tuesday, January 30, 2018 10:28 AM
> To: Liu, Yong <yong.liu@intel.com>; Xu, GangX <gangx.xu@intel.com>;
> dts@dpdk.org
> Cc: Xu, GangX <gangx.xu@intel.com>
> Subject: RE: [dts] [PATCH V4] stop port before csum set
> 
> Hi Marvin,
> 
> In this case ,we don't need set csum related offload when start testpmd.
> When we run command "csum set ip/udp/tcp/sctp hw $port_id", dpdk will set
> csum offload.
> And we run command "csum set ip/udp/tcp/sctp sw $port_id", dpdk will
> remove csum offload.
> 
> 
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Liu, Yong
> Sent: Tuesday, January 30, 2018 10:14 AM
> To: Xu, GangX <gangx.xu@intel.com>; dts@dpdk.org
> Cc: Xu, GangX <gangx.xu@intel.com>
> Subject: Re: [dts] [PATCH V4] stop port before csum set
> 
> Gang,
> You forgot to add tx offloads in this patch.
> 
> +                                  "--port-topology=loop --tx-
> offloads=0x1e", socket=self.ports_socket)
> 
> 
> > -----Original Message-----
> > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang
> > Sent: Monday, January 29, 2018 6:15 PM
> > To: dts@dpdk.org
> > Cc: Xu, GangX <gangx.xu@intel.com>
> > Subject: [dts] [PATCH V4] stop port before csum set
> >
> > Need to stop port before configure csum.
> > refer dpdk commit : 597f9fafe13b
> >
> > Signed-off-by: xu,gang <gangx.xu@intel.com>
> > ---
> >  tests/TestSuite_checksum_offload.py | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> > diff --git a/tests/TestSuite_checksum_offload.py
> > b/tests/TestSuite_checksum_offload.py
> > index 5f5547f..4183ead 100644
> > --- a/tests/TestSuite_checksum_offload.py
> > +++ b/tests/TestSuite_checksum_offload.py
> > @@ -72,16 +72,21 @@ class TestChecksumOffload(TestCase):
> >          self.dut.send_expect("set fwd csum", "testpmd>")
> >
> >      def checksum_enablehw(self, port):
> > +            self.dut.send_expect("port stop all", "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>")
> > +            self.dut.send_expect("port start all", "testpmd>")
> >
> >      def checksum_enablesw(self, port):
> > +            self.dut.send_expect("port stop all", "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>")
> > +            self.dut.send_expect("port start all", "testpmd>")
> > +
> >
> >      def get_chksum_values(self, packets_expected):
> >          """
> > --
> > 1.9.3

  reply	other threads:[~2018-01-30  2:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 10:14 xu,gang
2018-01-30  2:13 ` Liu, Yong
2018-01-30  2:27   ` Tu, LijuanX A
2018-01-30  2:52     ` Liu, Yong [this message]
2018-01-30 11:06 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86228AFD5BCD8E4EBFD2B90117B5E81E62F7AE4E@SHSMSX103.ccr.corp.intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=gangx.xu@intel.com \
    --cc=lijuanx.a.tu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).