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 30F3AA04B5; Thu, 29 Oct 2020 08:37:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 27926AC90; Thu, 29 Oct 2020 08:37:52 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id AED5EAC8F for ; Thu, 29 Oct 2020 08:37:49 +0100 (CET) IronPort-SDR: E2pRlYeQgF3Pn48SwkAEFfxNLDwwRbDa8r+3WxOQ0MTzNRl3J3Rv/1JCzHkgbjfrlgVw9TAiH7 RGHY0vZm7S9Q== X-IronPort-AV: E=McAfee;i="6000,8403,9788"; a="147673935" X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="147673935" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 00:37:47 -0700 IronPort-SDR: c/HMA1jH/9Jw/PnGY8zY7a2Dx/mDSJBalGKT7w9lxtg2BW5NVDpdGJ7RNLRZ2CdVudNDNe58kl ux6W3/1rnWUA== X-IronPort-AV: E=Sophos;i="5.77,429,1596524400"; d="scan'208";a="536565155" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Oct 2020 00:37:45 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Thu, 29 Oct 2020 15:40:07 +0800 Message-Id: <20201029074008.29911-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1 1/2] tests/TestSuite_vf_vlan:adapt to I40E driver update 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, while vlan set filter on, the pkts with random vlan tag 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