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 439E2A0523; Thu, 2 Jul 2020 09:19:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3B7B01D5FB; Thu, 2 Jul 2020 09:19:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 9A5291D6B5 for ; Thu, 2 Jul 2020 09:19:22 +0200 (CEST) IronPort-SDR: zVb87PEk2oxF2szMPkGjSy0B2IL+3gmulzI1dX2q8o8FYppn3tQV3dsrCmfx+1cXXxqSMJqrFt q/gYiFTI4JxA== X-IronPort-AV: E=McAfee;i="6000,8403,9669"; a="144340471" X-IronPort-AV: E=Sophos;i="5.75,303,1589266800"; d="scan'208";a="144340471" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 00:19:21 -0700 IronPort-SDR: Gi3EtykV8iLosW3xTrx5wXORdSSl1joIpWzPJI1QEVSdv/iL2HfD16mx7xivd2/n/NYld0ouQG BQ6tWd6KFr5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,303,1589266800"; d="scan'208";a="278031825" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 02 Jul 2020 00:19:21 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Jul 2020 00:19:20 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 2 Jul 2020 00:19:20 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.174]) with mapi id 14.03.0439.000; Thu, 2 Jul 2020 15:19:17 +0800 From: "Tu, Lijuan" To: "Chen, BoX C" , "dts@dpdk.org" CC: "Chen, BoX C" Thread-Topic: [dts] [PATCH V2] tests/dual_vlan: Update unsupported network card Thread-Index: AQHWUCO/FOISDwSEcEee80ooJIBeiajz4ebA Date: Thu, 2 Jul 2020 07:19:16 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC68DF7@SHSMSX101.ccr.corp.intel.com> References: <20200702033552.25298-1-box.c.chen@intel.com> In-Reply-To: <20200702033552.25298-1-box.c.chen@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-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2] tests/dual_vlan: Update unsupported network card 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 On Behalf Of ChenBo > Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B2=1B$BF|=1B(B 11:36 > To: dts@dpdk.org > Cc: Chen, BoX C > Subject: [dts] [PATCH V2] tests/dual_vlan: Update unsupported network car= d >=20 > Update unsupported NIC, and delete code that will not be executed. >=20 > Signed-off-by: ChenBo > --- > conf/test_case_checklist.json | 1 + > tests/TestSuite_dual_vlan.py | 8 -------- > 2 files changed, 1 insertion(+), 8 deletions(-) >=20 > diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.jso= n index > 493f403..d475229 100644 > --- a/conf/test_case_checklist.json > +++ b/conf/test_case_checklist.json > @@ -288,6 +288,7 @@ > "fortville_eagle", > "fortville_spirit", > "fortville_spirit_single", > + "foxville", > "powerville", > "kawela_4", > "springville", > diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py = index > daa23d3..855769c 100644 > --- a/tests/TestSuite_dual_vlan.py > +++ b/tests/TestSuite_dual_vlan.py > @@ -342,14 +342,10 @@ class TestDualVlan(TestCase): > """ > Enable/Disable VLAN packets strip on queue > """ > - self.verify(self.nic not in ["columbiaville_25g", "columbiaville= _100g", > "fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortvi= lle_25g", > "fortpark_TLV","fortpark_BASE-T", "cavium_a063", "cavium_a064", "carlsvil= le"], > "%s NIC not support queue vlan strip " % self.nic) > - > self.mode_config(filter=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", "fortpark_BASE-T","carlsville"]: > - self.dut.send_expect('rx_vlan add %s %s' % (outvlan, dutRxPo= rtId), > "testpmd> ") > self.vlan_send_packet(outvlan) > out =3D self.get_tcpdump_package() > self.verify("vlan %s" % outvlan in out, "vlan strip queue disabl= e error : " + > out) @@ -361,13 +357,9 @@ class TestDualVlan(TestCase): > self.verify("vlan %s" % outvlan not in out, "vlan strip enable e= rror: " + out) >=20 > self.mode_config(stripq=3D"off") > - if self.nic =3D=3D 'foxville': > - self.mode_config(strip=3D"off") > self.vlan_send_packet(outvlan) > out =3D self.get_tcpdump_package() > self.verify("vlan %s" % outvlan in out, "vlan strip queue disabl= e error: " + out) > - if self.nic in ["columbiaville_25g", "columbiaville_100g", "fort= ville_eagle", > "fortville_spirit", "fortville_spirit_single", "fortville_25g", > "fortpark_TLV","fortpark_BASE-T" "carlsville"]: > - self.dut.send_expect('rx_vlan rm %s %s' % (outvlan, dutRxPor= tId), > "testpmd> ") >=20 > def test_vlan_insert_config(self): > """ > -- > 2.17.1