[V1,1/2] tests/pmdrss_hash: remove case test_simple_symmetric

Message ID 20220531094421.7119-1-linglix.chen@intel.com (mailing list archive)
State Accepted
Headers
Series [V1,1/2] tests/pmdrss_hash: remove case test_simple_symmetric |

Commit Message

Lingli Chen May 31, 2022, 9:44 a.m. UTC
  remove not support case test_simple_symmetric

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 test_plans/pmdrss_hash_test_plan.rst |  5 ----
 tests/TestSuite_pmdrss_hash.py       | 43 ----------------------------
 2 files changed, 48 deletions(-)
  

Patch

diff --git a/test_plans/pmdrss_hash_test_plan.rst b/test_plans/pmdrss_hash_test_plan.rst
index 30bf3f99..9d9ecd30 100644
--- a/test_plans/pmdrss_hash_test_plan.rst
+++ b/test_plans/pmdrss_hash_test_plan.rst
@@ -150,8 +150,3 @@  The same as the above test case "test_toeplitz". Just pay attention to set the h
          flow create <port_id> ingress pattern eth / ipv6 / tcp / end actions rss types ipv6-tcp end queues end func simple_xor queues end / end
          flow create <port_id> ingress pattern eth / ipv6 / end actions rss types ipv6-frag end queues end func simple_xor queues end / end
 
-Test Case:  test_simple_symmetric
-=================================
-
-The same as the above test case "test_toeplitz_symmetric". Just pay attention to set the hash function to "simple xor"
-
diff --git a/tests/TestSuite_pmdrss_hash.py b/tests/TestSuite_pmdrss_hash.py
index ff8d042f..befb9bce 100644
--- a/tests/TestSuite_pmdrss_hash.py
+++ b/tests/TestSuite_pmdrss_hash.py
@@ -681,49 +681,6 @@  class TestPmdrssHash(TestCase):
 
         self.dut.send_expect("quit", "# ", 30)
 
-    def test_simple_symmetric(self):
-
-        dutPorts = self.dut.get_ports(self.nic)
-        localPort = self.tester.get_local_port(dutPorts[0])
-        itf = self.tester.get_interface(localPort)
-        global reta_num
-        global iptypes
-        self.dut.kill_all()
-
-        # test with different rss queues
-        self.dut.send_expect(
-            "%s %s -- -i --rxq=%d --txq=%d" % (self.path, self.eal_para, queue, queue),
-            "testpmd> ",
-            120,
-        )
-
-        for iptype, rsstype in list(iptypes.items()):
-            self.dut.send_expect("set verbose 8", "testpmd> ")
-            self.dut.send_expect("set fwd rxonly", "testpmd> ")
-            self.dut.send_expect("set promisc all off", "testpmd> ")
-            self.dut.send_expect("set nbcore %d" % (queue + 1), "testpmd> ")
-
-            self.dut.send_expect("port stop all", "testpmd> ")
-            self.dut.send_expect(
-                "set_hash_global_config 0 simple_xor %s enable" % iptype, "testpmd> "
-            )
-            self.dut.send_expect("set_sym_hash_ena_per_port 0 enable", "testpmd> ")
-            self.dut.send_expect("port start all", "testpmd> ")
-
-            out = self.dut.send_expect("port config all rss %s" % rsstype, "testpmd> ")
-            self.verify(
-                "error" not in out, "Configuration of RSS hash failed: Invalid argument"
-            )
-            # configure the reta with specific mappings.
-            for i in range(reta_num):
-                reta_entries.insert(i, random.randint(0, queue - 1))
-                self.dut.send_expect(
-                    "port config 0 rss reta (%d,%d)" % (i, reta_entries[i]), "testpmd> "
-                )
-            self.send_packet_symmetric(itf, iptype)
-
-        self.dut.send_expect("quit", "# ", 30)
-
     def tear_down(self):
         """
         Run after each test case.