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 1388AA2EFC for ; Wed, 18 Sep 2019 12:25:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 006B01C222; Wed, 18 Sep 2019 12:25:24 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 054711C221 for ; Wed, 18 Sep 2019 12:25:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Sep 2019 03:25:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,520,1559545200"; d="scan'208";a="177677532" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga007.jf.intel.com with ESMTP; 18 Sep 2019 03:25:21 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 03:25:21 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Sep 2019 03:25:21 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Wed, 18 Sep 2019 18:25:19 +0800 From: "Tu, Lijuan" To: "pvukkisala@marvell.com" , "dts@dpdk.org" CC: "avijay@marvell.com" , "fmasood@marvell.com" Thread-Topic: [dts] [PATCH] dual_vlan: Skip qinq on tests in random and synthetic tests for cavium devices Thread-Index: AQHVZHEegwnpE2jWN0aDVkQFkeeaXqcxTcrg Date: Wed, 18 Sep 2019 10:25:18 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB23D17@SHSMSX101.ccr.corp.intel.com> References: <1567746477-22414-1-git-send-email-pvukkisala@marvell.com> In-Reply-To: <1567746477-22414-1-git-send-email-pvukkisala@marvell.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzcxMDFhNDItOTQ0ZS00YmI5LWI1MzUtNTIwM2U3NWMyNDU4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiT0Y2RVM4V3Nudk9RXC9PVll4V2xmUVRMYjJ3dHBKY3g0akZRVkFsVVQ0TCtaRTFTazQzeEFEclJiU1pXSzlXUnkifQ== 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] dual_vlan: Skip qinq on tests in random and synthetic tests for cavium devices 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 > pvukkisala@marvell.com > Sent: Friday, September 6, 2019 1:08 PM > To: dts@dpdk.org > Cc: avijay@marvell.com; fmasood@marvell.com; Phanendra Vukkisala > > Subject: [dts] [PATCH] dual_vlan: Skip qinq on tests in random and synthe= tic > tests for cavium devices >=20 > From: Phanendra Vukkisala >=20 > Configuring QinQ ON is not supported now in cavium devices >=20 > Signed-off-by: Phanendra Vukkisala > --- > conf/test_case_checklist.json | 4 +--- > tests/TestSuite_dual_vlan.py | 3 +++ > 2 files changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/conf/test_case_checklist.json b/conf/test_case_checklist.jso= n > index 71faa19..504a089 100644 > --- a/conf/test_case_checklist.json > +++ b/conf/test_case_checklist.json > @@ -510,9 +510,7 @@ > "fortpark_TLV", > "sagepond", > "sageville", > - "cavium_a063", > - "cavium_a064", > - "carlsville" > + "carlsville" > ], > "Target": [ > "ALL" > diff --git a/tests/TestSuite_dual_vlan.py b/tests/TestSuite_dual_vlan.py > index f81fda1..9cb3879 100644 > --- a/tests/TestSuite_dual_vlan.py > +++ b/tests/TestSuite_dual_vlan.py > @@ -205,6 +205,9 @@ class TestDualVlan(TestCase): > temp.append("on") if (caseDef & stripCase) !=3D 0 else temp.appe= nd("off") > temp.append("on") if (caseDef & filterCase) !=3D 0 else temp.app= end("off") > temp.append("on") if (caseDef & qinqCase) !=3D 0 else temp.appen= d("off") > + 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]) >=20 > if (caseDef & txCase) !=3D 0: > -- > 1.7.9.5