From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9D016A0A02; Thu, 25 Mar 2021 07:28:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 601DE140EF8; Thu, 25 Mar 2021 07:28:44 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id AD4C4140EEA for ; Thu, 25 Mar 2021 07:28:42 +0100 (CET) IronPort-SDR: /OwwewyPA5t6JtHstqp1BZ5bHWrSNn7Bw3FcnowNOnCLKx2I4H/X6vLtgqcc1495++FLU7HAaY 8Fx4Zbi+PDcA== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="190955887" X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="190955887" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 23:28:41 -0700 IronPort-SDR: OkRNmH3tB/d+nDRaZvqEC+z74SdT5zAZAvztJ8MpjULwlE4Ds07JBIzcmwQBZUSiICsdyPpffj v7w8M0re1lqg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="525533862" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 24 Mar 2021 23:28:41 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 24 Mar 2021 23:28:40 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX606.ccr.corp.intel.com (10.109.6.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Mar 2021 14:28:39 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Thu, 25 Mar 2021 14:28:38 +0800 From: "Tu, Lijuan" To: "Sun, QinX" , "dts@dpdk.org" CC: "Sun, QinX" Thread-Topic: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss_gtpu: set vlan id for vf Thread-Index: AQHXH7Bkgjkeoh3frk6DrM6k71muvKqUQDAA Date: Thu, 25 Mar 2021 06:28:38 +0000 Message-ID: References: <20210323151121.11036-1-qinx.sun@intel.com> In-Reply-To: <20210323151121.11036-1-qinx.sun@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss_gtpu: set vlan id for vf X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: dts On Behalf Of sunqin > Sent: 2021=1B$BG/=1B(B3=1B$B7n=1B(B23=1B$BF|=1B(B 23:11 > To: dts@dpdk.org > Cc: Sun, QinX > Subject: [dts] [PATCH V1] tests/cvl_advanced_iavf_rss_gtpu: set vlan id f= or vf >=20 > Confirm with developer that the design of dpdk is changed for VF, >=20 > the VLAN ID needs to be set before VF receives VLAN packets. >=20 > Signed-off-by: sunqin > --- > tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py | 5 +++++ > 1 file changed, 5 insertions(+) > mode change 100755 =3D> 100644 > tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py >=20 > diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py > b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py > old mode 100755 > new mode 100644 > index 6490dcbf..cadea5d8 > --- a/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py > +++ b/tests/TestSuite_cvl_advanced_iavf_rss_gtpu.py > @@ -7886,6 +7886,11 @@ class TestCVLAdvancedIAVFRSSGTPU(TestCase): > self.pmd_output.quit() > self.launch_testpmd(symmetric=3Dsymmetric) > self.pmd_output.execute_cmd("start") > + self.pmd_output.execute_cmd('vlan set filter on 0') > + self.pmd_output.execute_cmd('rx_vlan add 1 0') > + self.pmd_output.execute_cmd('rx_vlan add 3 0') > + self.pmd_output.execute_cmd('rx_vlan add 5 0') > + self.pmd_output.execute_cmd('rx_vlan add 7 0') A little confused, you add this in a common function, and this function wil= l be called by most of cases, not only related to vlan, furthermore, the fu= nction will be added multiple time in runtime. >=20 > def test_mac_ipv4_gtpu_ipv4(self): > self.switch_testpmd(symmetric=3DFalse) > -- > 2.17.1