From: "Liu, Yong" <yong.liu@intel.com>
To: "Zhao, MeijuanX" <meijuanx.zhao@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhao, MeijuanX" <meijuanx.zhao@intel.com>
Subject: Re: [dts] [PATCH V1] tests/vf_offload : stop port before set csum
Date: Mon, 29 Jan 2018 05:33:46 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62F6B508@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1516934183-29824-1-git-send-email-meijuanx.zhao@intel.com>
Thanks, Meijuan. Applied.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Friday, January 26, 2018 10:36 AM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/vf_offload : stop port before set csum
>
> Need to stop port before configure csum.
> you can refer dpdk commit : 597f9fafe13b
>
>
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
> tests/TestSuite_vf_offload.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
> index 2dfc424..c1983ca 100644
> --- a/tests/TestSuite_vf_offload.py
> +++ b/tests/TestSuite_vf_offload.py
> @@ -118,10 +118,12 @@ class TestVfOffload(TestCase):
> self.setup_2pf_2vf_1vm_env_flag = 0
>
> def checksum_enablehw(self, port, dut):
> + dut.send_expect("port stop all", "testpmd>")
> dut.send_expect("csum set ip hw %d" % port, "testpmd>")
> dut.send_expect("csum set udp hw %d" % port, "testpmd>")
> dut.send_expect("csum set tcp hw %d" % port, "testpmd>")
> dut.send_expect("csum set sctp hw %d" % port, "testpmd>")
> + dut.send_expect("port start all", "testpmd>")
>
> def checksum_enablesw(self, port, dut):
> dut.send_expect("csum set ip sw %d" % port, "testpmd>")
> --
> 1.9.3
prev parent reply other threads:[~2018-01-29 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-26 2:36 zhao,meijuan
2018-01-29 5:33 ` Liu, Yong [this message]
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=86228AFD5BCD8E4EBFD2B90117B5E81E62F6B508@SHSMSX101.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=meijuanx.zhao@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).