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 167CBA04F5; Fri, 13 Dec 2019 03:48:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C3BFA1BF95; Fri, 13 Dec 2019 03:48:21 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 56AB51BF93 for ; Fri, 13 Dec 2019 03:48:20 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2019 18:48:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,308,1571727600"; d="scan'208";a="216498150" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 12 Dec 2019 18:48:18 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Dec 2019 18:48:18 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Dec 2019 18:48:18 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.214]) with mapi id 14.03.0439.000; Fri, 13 Dec 2019 10:48:16 +0800 From: "Ma, LihongX" To: "Peng, ZhihongX" , "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/izhj04csXZjUaH8tl3474d8qe3X2Vw Date: Fri, 13 Dec 2019 02:48:15 +0000 Message-ID: References: <20191211194301.25202-1-xiaoxiaox.zeng@intel.com> <218C9AAF1879E445B4BC31BDA3D0850297155B@CDSMSX102.ccr.corp.intel.com> In-Reply-To: <218C9AAF1879E445B4BC31BDA3D0850297155B@CDSMSX102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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" Reviewed-by: ma,lihong -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng, ZhihongX Sent: Wednesday, December 11, 2019 3:57 PM To: Zeng, XiaoxiaoX ; dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: Re: [dts] [PATCH V4] tests/kernelpf_iavf:add vlan filter for CVL o= n case test_vf_vlan_strip Tested-by: Peng,ZhihongX -----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 ca= se test_vf_vlan_strip *.As FW/HW problem which caused older FW works and newer FW not work,need t= o add 'vlan set filter' in testpmd to pass this case. Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_kernelpf_iavf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_ia= vf.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"VLAN_= UDP") tcpdump_out =3D self.get_tcpdump_package() --=20 2.17.0