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 D39E0A04F1; Wed, 11 Dec 2019 08:43:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 97BA3374C; Wed, 11 Dec 2019 08:43:21 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 385D834EF for ; Wed, 11 Dec 2019 08:43:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2019 23:43:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,301,1571727600"; d="scan'208";a="245143949" Received: from unknown (HELO dpdk-zengxx-tester.localdomain) ([10.240.176.145]) by fmsmga002.fm.intel.com with ESMTP; 10 Dec 2019 23:43:16 -0800 From: Xiaoxiao Zeng To: dts@dpdk.org Cc: Xiaoxiao Zeng Date: Thu, 12 Dec 2019 03:43:01 +0800 Message-Id: <20191211194301.25202-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [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" *.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. 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_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): # 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 = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP") tcpdump_out = self.get_tcpdump_package() -- 2.17.0