From patchwork Thu Nov 18 10:35:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yan Xia X-Patchwork-Id: 104496 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 105F2A0C41; Thu, 18 Nov 2021 03:35:15 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0824B40687; Thu, 18 Nov 2021 03:35:15 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 26D4E40395 for ; Thu, 18 Nov 2021 03:35:14 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10171"; a="320316824" X-IronPort-AV: E=Sophos;i="5.87,243,1631602800"; d="scan'208";a="320316824" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 18:35:13 -0800 X-IronPort-AV: E=Sophos;i="5.87,243,1631602800"; d="scan'208";a="646255550" Received: from unknown (HELO dpdk.lan) ([10.240.183.77]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Nov 2021 18:35:11 -0800 From: Yan Xia To: dts@dpdk.org Cc: Yan Xia Subject: [dts][PATCH V2 4/4] tests/vxlan_gpe_support_in_i40e: delete tunnel_filter_vxlan_gpe Date: Thu, 18 Nov 2021 10:35:38 +0000 Message-Id: <20211118103538.117758-5-yanx.xia@intel.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211118103538.117758-1-yanx.xia@intel.com> References: <20211118103538.117758-1-yanx.xia@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 delete test case that legcay command not be supported and not new command to replace dpdk commit-id:251baec36 ethdev: remove legacy tunnel filter type support Signed-off-by: Yan Xia Signed-off-by: Yan Xia --- tests/TestSuite_vxlan_gpe_support_in_i40e.py | 33 -------------------- 1 file changed, 33 deletions(-) diff --git a/tests/TestSuite_vxlan_gpe_support_in_i40e.py b/tests/TestSuite_vxlan_gpe_support_in_i40e.py index 555f7a0f..a2002247 100644 --- a/tests/TestSuite_vxlan_gpe_support_in_i40e.py +++ b/tests/TestSuite_vxlan_gpe_support_in_i40e.py @@ -254,39 +254,6 @@ class TestVxlanGpeSupportInI40e(TestCase): self.pmdout.execute_cmd('quit', '#') self.verify('L3_IPV4_EXT_UNKNOWN' in out and '%s' % VXLAN_GPE_PORT not in out, 'no detect vxlan-gpe packet') - def test_tunnel_filter_vxlan_gpe(self): - """ - verify tunnel filter feature - """ - pmd_temp = "./%(TARGET)s -c %(COREMASK)s -n " + \ - "%(CHANNEL)d -- -i --disable-rss --rxq=4 --txq=4" + \ - " --nb-cores=4 --portmask=%(PORT)s" - path = self.dut.apps_name['test-pmd'] - pmd_cmd = pmd_temp % {'TARGET': path, - 'COREMASK': self.coremask, - 'CHANNEL': self.dut.get_memory_channels(), - 'PORT': self.portMask} - self.dut.send_expect(pmd_cmd, "testpmd>", 30) - - self.dut.send_expect("set fwd rxonly", "testpmd>", 10) - self.dut.send_expect("set verbose 1", "testpmd>", 10) - self.enable_vxlan(self.dut_port) - - # check inner mac + inner vlan filter can work - self.filter_and_check(filter_type="imac-ivlan", vlan=1) - # check inner mac + inner vlan + tunnel id filter can work - self.filter_and_check(filter_type="imac-ivlan-tenid", vlan=1) - # check inner mac + tunnel id filter can work - self.filter_and_check(filter_type="imac-tenid") - # check inner mac filter can work - self.filter_and_check(filter_type="imac") - # check outer mac + inner mac + tunnel id filter can work - self.filter_and_check(filter_type="omac-imac-tenid") - # iip not supported by now - self.filter_and_check(filter_type="iip") - - self.dut.send_expect("quit", "#", 10) - def enable_vxlan(self, port): self.dut.send_expect("rx_vxlan_port add %d %d" % (VXLAN_GPE_PORT, port),