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 8C639A00E6 for ; Tue, 6 Aug 2019 12:00:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8317F1BE31; Tue, 6 Aug 2019 12:00:20 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B3FA71BE29 for ; Tue, 6 Aug 2019 12:00:18 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 02:53:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,353,1559545200"; d="scan'208";a="175843738" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga007.fm.intel.com with ESMTP; 06 Aug 2019 02:53:33 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 02:53:33 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 02:53:32 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.62]) with mapi id 14.03.0439.000; Tue, 6 Aug 2019 17:53:31 +0800 From: "Tu, Lijuan" To: "Zhang, YanX A" , "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts] [PATCH V1] tests/TestSuite_vf_vlan:set filter on before add vlan Thread-Index: AQHVQQHi1LCZMwT200Cp142OXSPrKqbt941A Date: Tue, 6 Aug 2019 09:53:30 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFD51F@SHSMSX101.ccr.corp.intel.com> References: <1563850698-39687-1-git-send-email-yanx.a.zhang@intel.com> In-Reply-To: <1563850698-39687-1-git-send-email-yanx.a.zhang@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWU3ZTkzMGItZGJmNC00OWU0LTllYWQtN2VmYzY1NWYzZmJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMmh2aEpGWllXWUEreHZnc2h6WmZXUFBsUkNDdFNSamVkZUlMaGV4RGUzeE9zWmRzUnk2V3BlWEtZRWNHWDQ0WCJ9 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/TestSuite_vf_vlan:set filter on before add vlan 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 zhang,yan > Sent: Tuesday, July 23, 2019 10:58 AM > To: dts@dpdk.org > Cc: Zhang, YanX A > Subject: [dts] [PATCH V1] tests/TestSuite_vf_vlan:set filter on before ad= d > vlan >=20 > set filter on before add vlan. > Otherwise the following error will be reported: > ---Port 0: vlan-filtering disabled > ---rte_eth_dev_vlan_filter(port_pi=3D0, vlan_id=3D4095, on=3D1) faile= d diag=3D-38 >=20 > Signed-off-by: zhang,yan > --- > tests/TestSuite_vf_vlan.py | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py inde= x > d0175b3..f50a7e5 100644 > --- a/tests/TestSuite_vf_vlan.py > +++ b/tests/TestSuite_vf_vlan.py > @@ -289,6 +289,7 @@ class TestVfVlan(TestCase): > # if you want insert tx_vlan, > # please enable rx_vlan at the same time > if self.kdriver =3D=3D "i40e": > + self.vm0_testpmd.execute_cmd('vlan set filter on 0') > self.vm0_testpmd.execute_cmd('rx_vlan add %d 0' % tx_vla= n) > self.vm0_testpmd.execute_cmd('stop') > self.vm0_testpmd.execute_cmd('port stop all') > -- > 2.17.2