[V2,4/4] tests/vxlan_gpe_support_in_i40e: delete tunnel_filter_vxlan_gpe

Message ID 20211118103538.117758-5-yanx.xia@intel.com (mailing list archive)
State Accepted
Headers
Series *** delete test case *** |

Checks

Context Check Description
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Yan Xia Nov. 18, 2021, 10:35 a.m. UTC
  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 <yanx.xia@intel.com>
---
 tests/TestSuite_vxlan_gpe_support_in_i40e.py | 33 --------------------
 1 file changed, 33 deletions(-)
  

Comments

Peng, Yuan Nov. 18, 2021, 2:40 a.m. UTC | #1
Acked-by Peng, Yuan <yuan.peng@intel.com>

-----Original Message-----
From: Yan Xia <yanx.xia@intel.com> 
Sent: Thursday, November 18, 2021 6:36 PM
To: dts@dpdk.org
Cc: Xia, YanX <yanx.xia@intel.com>
Subject: [dts][PATCH V2 4/4] tests/vxlan_gpe_support_in_i40e: delete tunnel_filter_vxlan_gpe

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 <yanx.xia@intel.com>
---
 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),
--
2.33.1
  
Tu, Lijuan Nov. 22, 2021, 2:43 p.m. UTC | #2
> -----Original Message-----
> From: Yan Xia <yanx.xia@intel.com>
> Sent: 2021年11月18日 18:36
> To: dts@dpdk.org
> Cc: Xia, YanX <yanx.xia@intel.com>
> Subject: [dts][PATCH V2 4/4] tests/vxlan_gpe_support_in_i40e: delete
> tunnel_filter_vxlan_gpe
> 
> 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 <yanx.xia@intel.com>

Acked-by Peng, Yuan <yuan.peng@intel.com>

Series applied
  

Patch

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),