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 45BCDA04F7; Fri, 20 Dec 2019 08:48:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2DF082BF9; Fri, 20 Dec 2019 08:48:40 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 950C72BF9 for ; Fri, 20 Dec 2019 08:48:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2019 23:48:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,335,1571727600"; d="scan'208";a="298952340" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 19 Dec 2019 23:48:35 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Dec 2019 23:48:35 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Dec 2019 23:48:35 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.222]) with mapi id 14.03.0439.000; Fri, 20 Dec 2019 15:48:33 +0800 From: "Tu, Lijuan" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on case test_vf_vlan_strip Thread-Index: AQHVr/a9ycvbnUGPZk2vQUm6PKN2AKfCs88w Date: Fri, 20 Dec 2019 07:48:32 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB8A0F1@SHSMSX101.ccr.corp.intel.com> References: <20191211194301.25202-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191211194301.25202-1-xiaoxiaox.zeng@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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on case test_vf_vlan_strip 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 Xiaoxiao Zeng > Sent: Thursday, December 12, 2019 3:43 AM > To: dts@dpdk.org > Cc: Zeng, XiaoxiaoX > Subject: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL on = case > test_vf_vlan_strip >=20 > *.As FW/HW problem which caused older FW works and newer FW not > work,need to add 'vlan set filter' in testpmd to pass this case. >=20 > Signed-off-by: Xiaoxiao Zeng > --- > tests/TestSuite_kernelpf_iavf.py | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/tests/TestSuite_kernelpf_iavf.py > b/tests/TestSuite_kernelpf_iavf.py > index 668eb28..3995238 100644 > --- a/tests/TestSuite_kernelpf_iavf.py > +++ b/tests/TestSuite_kernelpf_iavf.py > @@ -510,6 +510,9 @@ class TestKernelpfIavf(TestCase): >=20 > # disable strip > self.vm_testpmd.execute_cmd("vlan set strip off 0") > + if self.nic.startswith('columbiaville'): > + self.vm_testpmd.execute_cmd("vlan set filter on 0") > + self.vm_testpmd.execute_cmd("rx_vlan add %d 0" % random_vlan= ) > self.start_tcpdump(self.tester_intf) > out =3D self.send_and_getout(vlan=3Drandom_vlan, pkt_type=3D"VLA= N_UDP") > tcpdump_out =3D self.get_tcpdump_package() > -- > 2.17.0