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/sriov kvm:add vlan strip
Date: Tue, 12 Jun 2018 09:09:59 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E630C251C@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1528793095-54367-1-git-send-email-meijuanx.zhao@intel.com>
Hi Meijuan,
Could you please confirm with developer that vlan strip was must for mirror?
If it is true, please also update related test plan.
Thanks,
Marvin
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhao,meijuan
> Sent: Tuesday, June 12, 2018 4:45 PM
> To: dts@dpdk.org
> Cc: Zhao, MeijuanX <meijuanx.zhao@intel.com>
> Subject: [dts] [PATCH V1] tests/sriov kvm:add vlan strip
>
> before dpdk18.02, testpmd default vlan strip value is enable,
> test vlan mirror need enable vlan strip
>
> Signed-off-by: zhao,meijuan <meijuanx.zhao@intel.com>
> ---
> tests/TestSuite_sriov_kvm.py | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_sriov_kvm.py b/tests/TestSuite_sriov_kvm.py
> index ee8d555..e5c984c 100644
> --- a/tests/TestSuite_sriov_kvm.py
> +++ b/tests/TestSuite_sriov_kvm.py
> @@ -772,7 +772,7 @@ class TestSriovKvm(TestCase):
> def test_two_vms_vlan_mirror(self):
> self.setup_2vm_2vf_env()
> self.setup_two_vm_common_prerequisite()
> -
> + self.vm1_testpmd.execute_cmd('vlan set strip on 0')
> port_id_0 = 0
> vlan_id = 0
> vf_mask = '0x1'
> @@ -804,7 +804,8 @@ class TestSriovKvm(TestCase):
> def test_two_vms_vlan_and_pool_mirror(self):
> self.setup_2vm_2vf_env()
> self.setup_two_vm_common_prerequisite()
> -
> + self.vm0_testpmd.execute_cmd('vlan set strip on 0')
> + self.vm1_testpmd.execute_cmd('vlan set strip on 0')
> port_id_0 = 0
> vlan_id = 3
> vf_mask = '0x2'
> @@ -851,7 +852,8 @@ class TestSriovKvm(TestCase):
> def test_two_vms_uplink_and_downlink_mirror(self):
> self.setup_2vm_2vf_env()
> self.setup_two_vm_common_prerequisite()
> -
> + self.vm0_testpmd.execute_cmd('vlan set strip on 0')
> + self.vm1_testpmd.execute_cmd('vlan set strip on 0')
> self.vm0_testpmd.execute_cmd('stop')
> self.vm1_testpmd.execute_cmd('stop')
>
> --
> 1.9.3
next prev parent reply other threads:[~2018-06-12 9:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-12 8:44 zhao,meijuan
2018-06-12 9:09 ` Liu, Yong [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-07-03 8:20 [dts] [PATCH V1] tests/sriov kvm: add " zhao,meijuan
2018-07-03 16:46 ` Liu, Yong
2018-05-28 9:08 zhao,meijuan
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=86228AFD5BCD8E4EBFD2B90117B5E81E630C251C@SHSMSX103.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).