From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id C25E11D585 for ; Tue, 12 Jun 2018 11:10:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2018 02:10:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,213,1526367600"; d="scan'208";a="66307474" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 12 Jun 2018 02:10:02 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Jun 2018 02:10:02 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Jun 2018 02:10:01 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.51]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Tue, 12 Jun 2018 17:09:59 +0800 From: "Liu, Yong" To: "Zhao, MeijuanX" , "dts@dpdk.org" CC: "Zhao, MeijuanX" Thread-Topic: [dts] [PATCH V1] tests/sriov kvm:add vlan strip Thread-Index: AQHUAil9sTWpDMQwMUqpNigEktdVa6RcVYmg Date: Tue, 12 Jun 2018 09:09:59 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E630C251C@SHSMSX103.ccr.corp.intel.com> References: <1528793095-54367-1-git-send-email-meijuanx.zhao@intel.com> In-Reply-To: <1528793095-54367-1-git-send-email-meijuanx.zhao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGJhNGE5NGMtYzkyZC00Y2Y2LTkyZjItMTM0ZWNlNmUwNjcxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic3hJdk1seEkwOU5rY3hGS085UzFPWitmdVlHT1ArTzdRSXZZYlJOOUVReXA4WjVTOGJYenJZalgzR2tWdG0yTSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/sriov kvm:add vlan strip X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 09:10:05 -0000 Hi Meijuan, Could you please confirm with developer that vlan strip was must for mirror= ?=20 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 > Subject: [dts] [PATCH V1] tests/sriov kvm:add vlan strip >=20 > before dpdk18.02, testpmd default vlan strip value is enable, > test vlan mirror need enable vlan strip >=20 > Signed-off-by: zhao,meijuan > --- > tests/TestSuite_sriov_kvm.py | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > 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 =3D 0 > vlan_id =3D 0 > vf_mask =3D '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 =3D 0 > vlan_id =3D 3 > vf_mask =3D '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') >=20 > -- > 1.9.3