[V1,2/2] tests/fortville_rss_input: remove global configurations of hash filter case

Message ID 1629372921-21024-3-git-send-email-yux.jiang@intel.com (mailing list archive)
State Accepted
Headers
Series remove fortville_rss_input/global_hash_configuration |

Checks

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

Commit Message

Yu Jiang Aug. 19, 2021, 11:35 a.m. UTC
  According to dpdk commit 81db321da ethdev: remove legacy HASH filter type support,
remove test case test_global_hash_configuration

Signed-off-by: Yu Jiang <yux.jiang@intel.com>
---
 tests/TestSuite_fortville_rss_input.py | 32 --------------------------------
 1 file changed, 32 deletions(-)
  

Comments

Yu Jiang Sept. 14, 2021, 6:06 a.m. UTC | #1
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Thursday, August 19, 2021 7:35 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1 2/2] tests/fortville_rss_input: remove global
> configurations of hash filter case
> 
> According to dpdk commit 81db321da ethdev: remove legacy HASH filter
> type support, remove test case test_global_hash_configuration
> 
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>
> ---
Tested-by: Yu Jiang <yux.jiang@intel.com>
  
Peng, Yuan Sept. 14, 2021, 6:30 a.m. UTC | #2
Acked-by Peng, Yuan <yuan.peng@intel.com>

-----Original Message-----
From: Jiang, YuX <yux.jiang@intel.com> 
Sent: Tuesday, September 14, 2021 2:07 PM
To: dts@dpdk.org
Cc: Peng, Yuan <yuan.peng@intel.com>
Subject: RE: [dts][PATCH V1 2/2] tests/fortville_rss_input: remove global configurations of hash filter case

> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Thursday, August 19, 2021 7:35 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts][PATCH V1 2/2] tests/fortville_rss_input: remove global 
> configurations of hash filter case
> 
> According to dpdk commit 81db321da ethdev: remove legacy HASH filter 
> type support, remove test case test_global_hash_configuration
> 
> Signed-off-by: Yu Jiang <yux.jiang@intel.com>
> ---
Tested-by: Yu Jiang <yux.jiang@intel.com>
  
Tu, Lijuan Sept. 15, 2021, 3:47 a.m. UTC | #3
> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Peng, Yuan
> Sent: 2021年9月14日 14:31
> To: Jiang, YuX <yux.jiang@intel.com>; dts@dpdk.org
> Subject: Re: [dts] [PATCH V1 2/2] tests/fortville_rss_input: remove global
> configurations of hash filter case
> 
> Acked-by Peng, Yuan <yuan.peng@intel.com>
> 
> -----Original Message-----
> From: Jiang, YuX <yux.jiang@intel.com>
> Sent: Tuesday, September 14, 2021 2:07 PM
> To: dts@dpdk.org
> Cc: Peng, Yuan <yuan.peng@intel.com>
> Subject: RE: [dts][PATCH V1 2/2] tests/fortville_rss_input: remove global
> configurations of hash filter case
> 
> > -----Original Message-----
> > From: Jiang, YuX <yux.jiang@intel.com>
> > Sent: Thursday, August 19, 2021 7:35 PM
> > To: dts@dpdk.org
> > Cc: Jiang, YuX <yux.jiang@intel.com>
> > Subject: [dts][PATCH V1 2/2] tests/fortville_rss_input: remove global
> > configurations of hash filter case
> >
> > According to dpdk commit 81db321da ethdev: remove legacy HASH filter
> > type support, remove test case test_global_hash_configuration
> >
> > Signed-off-by: Yu Jiang <yux.jiang@intel.com>
> > ---
> Tested-by: Yu Jiang <yux.jiang@intel.com>

Applied.
  

Patch

diff --git a/tests/TestSuite_fortville_rss_input.py b/tests/TestSuite_fortville_rss_input.py
index f542b66..4ba413f 100644
--- a/tests/TestSuite_fortville_rss_input.py
+++ b/tests/TestSuite_fortville_rss_input.py
@@ -305,38 +305,6 @@  class TestFortvilleRssInput(TestCase):
         res = self.pmdout.wait_link_status_up("all")
         self.verify(res is True, "link is down")
 
-    def test_global_hash_configuration(self):
-        """
-        Test with flow type ipv4-tcp.
-        """
-        flag = 1
-
-        self.start_testpmd()
-
-        # set hash input set by testpmd on dut, enable default input set
-        self.dut.send_expect(
-            "flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end", "testpmd> ")
-            
-        out = self.dut.send_expect("get_hash_global_config 0", "testpmd>")
-        result_scanner = r"Hash function is Simple XOR"
-        scanner = re.compile(result_scanner, re.DOTALL)
-        m = scanner.search(out)
-        if m:
-            self.verify(1, "Pass")
-        else:
-            self.verify(0, "Fail")
-
-        self.dut.send_expect(
-            "flow destroy 0 rule 0", "testpmd>")
-        out = self.dut.send_expect("get_hash_global_config 0", "testpmd>")
-        rexp = r"Hash function is Toeplitz"
-        scanner = re.compile(rexp, re.DOTALL)
-        m = scanner.search(out)
-        if m:
-            self.verify(1, "Pass")
-        else:
-            self.verify(0, "Fail")
-
     def test_symmetric_hash_configuration(self):
         """
         Test with flow type ipv4-tcp.