[dts][PATCH V1] tests/i40_rss_input: update dts code for dpdk query RSS changes

Weiyuan Li weiyuanx.li at intel.com
Thu Mar 30 05:15:38 CEST 2023


According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes.

Signed-off-by: Weiyuan Li <weiyuanx.li at intel.com>
---
 tests/TestSuite_i40e_rss_input.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_i40e_rss_input.py b/tests/TestSuite_i40e_rss_input.py
index 4a88af1b..716800d9 100644
--- a/tests/TestSuite_i40e_rss_input.py
+++ b/tests/TestSuite_i40e_rss_input.py
@@ -5743,7 +5743,7 @@ class TestI40ERssInput(TestCase):
             "testpmd> ",
         )
 
-        rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n types:\r\n  ([\s\S]+)"
+        rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n RSS key:\r\n [\s\S]+\r\n types:\r\n  ([\s\S]+)"
         out0 = self.dut.send_expect("flow query 0 0 rss", "testpmd> ")
         m0 = re.match(rexp, out0.strip())
         self.verify(
-- 
2.27.0



More information about the dts mailing list