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 38F49A0521; Tue, 3 Nov 2020 09:42:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1FEF2C80C; Tue, 3 Nov 2020 09:42:36 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id F38DEC7FA for ; Tue, 3 Nov 2020 09:42:34 +0100 (CET) IronPort-SDR: LQzWG+JVL5nqXiF7lMrQ0oa7inYJlDCSJMw6B+oVuusCFplPMjjyfpqa7SIxeIQcI9UNEXjXwZ MuIIvlHA8msg== X-IronPort-AV: E=McAfee;i="6000,8403,9793"; a="230648515" X-IronPort-AV: E=Sophos;i="5.77,447,1596524400"; d="scan'208";a="230648515" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 00:42:32 -0800 IronPort-SDR: /5yNdBdhE9YdzGL6ajAjozTOavODzy174MwsBOgn1LhoPDGHKsZRMo5YH1LwwQ80k+UFImeuV7 Yfup88P7LLiA== X-IronPort-AV: E=Sophos;i="5.77,447,1596524400"; d="scan'208";a="353133382" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 00:42:31 -0800 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Tue, 3 Nov 2020 16:44:46 +0800 Message-Id: <20201103084447.20112-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V2 1/2] tests/TestSuite_vf_vlan:modify script to fit new I40E driver 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" Update i40e driver to 2.13.10, vf_vlan_rx: while vlan set filter on, the pkts with random vlan id 1-4095 shall not be received. add_pvid_vf: while ip link set pf_intf vf 0 vlan 0, the pkts with random vlan id 1-4095 shall not be received. Signed-off-by: Xie wei --- tests/TestSuite_vf_vlan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vf_vlan.py b/tests/TestSuite_vf_vlan.py index a5754117..327c1466 100644 --- a/tests/TestSuite_vf_vlan.py +++ b/tests/TestSuite_vf_vlan.py @@ -273,7 +273,7 @@ class TestVfVlan(TestCase): self.vm0_testpmd.execute_cmd("start") out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP") - if self.kdriver == "i40e" or self.kdriver == 'ice': + if self.kdriver == 'ice': self.verify("received" in out, "Failed to received vlan packet!!!") else: self.verify( @@ -395,7 +395,7 @@ class TestVfVlan(TestCase): # send packet with vlan out = self.send_and_getout(vlan=random_vlan, pkt_type="VLAN_UDP") - if self.kdriver == "i40e" or self.kdriver == 'ice': + if self.kdriver == 'ice': self.verify( "received 1 packets" in out, "Received mismatched vlan packet while vlan filter on") else: -- 2.17.1