From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9536A04C1; Fri, 22 Nov 2019 03:51:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D4F612BAF; Fri, 22 Nov 2019 03:51:23 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B972B237 for ; Fri, 22 Nov 2019 03:51:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2019 18:51:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,228,1571727600"; d="scan'208";a="408762002" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 21 Nov 2019 18:51:20 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 18:51:20 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 18:51:19 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.215]) with mapi id 14.03.0439.000; Fri, 22 Nov 2019 10:51:18 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V2] tests/dual_vlan:replace qinq with extend Thread-Index: AQHVjvvjNEe9Iett/0C8tLEkNZ5+E6eWoXCQ Date: Fri, 22 Nov 2019 02:51:17 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB663B2@SHSMSX101.ccr.corp.intel.com> References: <1572424353-88768-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1572424353-88768-1-git-send-email-wenhuix.zhu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDFhMDRiMzItZThjNy00OTE4LWE1NDQtZDVhYzExNjQ2MWJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY2RiSkVsNlVGaUJXMG92NW4zWVRneEFkOEZxK2VhOTFGakxzeDBMXC8xUTdKMDFRXC9TblNZaVlFajRtNDNuZE1hIn0= 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 V2] tests/dual_vlan:replace qinq with extend 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu wenhui > Sent: Wednesday, October 30, 2019 4:33 PM > To: dts@dpdk.org > Cc: Zhu, WenhuiX > Subject: [dts] [PATCH V2] tests/dual_vlan:replace qinq with extend >=20 > Change the command according to the modification of DPDK-2a0b41984c7 >=20 > Signed-off-by: zhu wenhui > --- > tests/TestSuite_dual_vlan.py | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) >=20 > diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py = index > 9cb3879..f9cb1c2 100644 > --- a/tests/TestSuite_dual_vlan.py > +++ b/tests/TestSuite_dual_vlan.py > @@ -176,8 +176,8 @@ class TestDualVlan(TestCase): > self.dut.send_expect("rx_vlan rm %s %s" % (outvl= an, > dutRxPortId), "testpmd> ") > continue >=20 > - if mode =3D=3D "qinq": > - self.verify("qinq(extend) %s" % modeName[mode] in out, "= %s > setting error" % mode) > + if mode =3D=3D "extend": > + self.verify("extend %s" % modeName[mode] in out, "%s > + setting error" % mode) > continue > elif mode =3D=3D "stripq": > continue > @@ -208,7 +208,7 @@ class TestDualVlan(TestCase): > if (self.nic in ["cavium_a063", "cavium_a064"]) and temp[2] =3D= =3D "on": > ## Skip QinQ for cavium devices as it is not supported. > return > - self.mode_config(strip=3Dtemp[0], filter=3Dtemp[1], qinq=3Dtemp[= 2]) > + self.mode_config(strip=3Dtemp[0], filter=3Dtemp[1], extend=3Dtem= p[2]) >=20 > if (caseDef & txCase) !=3D 0: > self.dut.send_expect('stop', "testpmd> ") @@ -280,7 +280,7 @= @ > class TestDualVlan(TestCase): > """ > self.mode_config(filter=3D"on") > self.mode_config(strip=3D"off") > - self.mode_config(qinq=3D"off") > + self.mode_config(extend=3D"off") > self.vlan_send_packet(outvlan) > out =3D self.get_tcpdump_package() > print out > @@ -305,7 +305,7 @@ class TestDualVlan(TestCase): >=20 > self.mode_config(filter=3D"on") > self.mode_config(strip=3D"off") > - self.mode_config(qinq=3D"off") > + self.mode_config(extend=3D"off") >=20 > self.dut.send_expect("rx_vlan add %s %s" % (outvlan, dutRxPortId= ), > "testpmd> ") > self.vlan_send_packet(outvlan) > @@ -323,7 +323,7 @@ class TestDualVlan(TestCase): > """ >=20 > self.mode_config(filter=3D"off") > - self.mode_config(qinq=3D"off") > + self.mode_config(extend=3D"off") > self.mode_config(strip=3D"on") > if self.nic in [ "columbiaville_25g", "columbiaville_100g", > "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortvi= lle_25g", > "fortpark_TLV", "carlsville"]: > self.dut.send_expect('rx_vlan add %s %s' % (outvlan, dutRxPo= rtId), > "testpmd> ") @@ -345,7 +345,7 @@ class TestDualVlan(TestCase): > self.verify(self.nic not in ["columbiaville_25g", "columbiaville= _100g", > "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortvi= lle_25g", > "fortpark_TLV", "cavium_a063", "cavium_a064", "carlsville"], "%s NIC not > support queue vlan strip " % self.nic) >=20 > self.mode_config(filter=3D"off") > - self.mode_config(qinq=3D"off") > + self.mode_config(extend=3D"off") > self.mode_config(strip=3D"off") > self.mode_config(stripq=3D"off") > if self.nic in ["fortville_eagle", "fortville_spirit", "fortvill= e_spirit_single", > "fortville_25g", "fortpark_TLV", "carlsville"]: > @@ -372,7 +372,7 @@ class TestDualVlan(TestCase): > Enable/Disable VLAN packets inserting > """ > self.mode_config(filter=3D"off") > - self.mode_config(qinq=3D"off") > + self.mode_config(extend=3D"off") >=20 > # hartwell need to set CTRL.VME for vlan insert > if(self.nic =3D=3D "hartwell"): > @@ -406,7 +406,7 @@ class TestDualVlan(TestCase): > """ > self.verify(self.nic not in ["columbiaville_25g", "columbiaville= _100g", > "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortvi= lle_25g", > "fortpark_TLV", "hartwell", "carlsville"], "%s NIC not support tcpid " % = self.nic) >=20 > - self.mode_config(filter=3D"on", strip=3D"on", qinq=3D"on") > + self.mode_config(filter=3D"on", strip=3D"on", extend=3D"on") > # nic only support inner model, except fortville nic > self.dut.send_expect("vlan set inner tpid 1234 %s" % dutRxPortId= , > "testpmd> ") > self.vlan_send_packet(outvlan, invlan) > -- > 2.17.2