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 AF775A04F0; Tue, 10 Dec 2019 08:59:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62BD21B9B5; Tue, 10 Dec 2019 08:59:20 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CD9131B13C for ; Tue, 10 Dec 2019 08:59:18 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Dec 2019 23:59:01 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,299,1571727600"; d="scan'208";a="295811604" Received: from unknown (HELO dpdk-zengxx-tester.localdomain) ([10.240.176.145]) by orsmga001.jf.intel.com with ESMTP; 09 Dec 2019 23:59:00 -0800 From: Xiaoxiao Zeng To: dts@dpdk.org Cc: Xiaoxiao Zeng Date: Wed, 11 Dec 2019 03:58:44 +0800 Message-Id: <20191210195844.32421-1-xiaoxiaox.zeng@intel.com> X-Mailer: git-send-email 2.17.0 Subject: [dts] [PATCH V3] add vlan filter for kernelpf_iavf/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" *.fix DPDK bug 16612 for cvl. 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