test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change
@ 2022-07-14  8:34 Weiyuan Li
  2022-07-18  9:39 ` Chen, LingliX
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Weiyuan Li @ 2022-07-14  8:34 UTC (permalink / raw)
  To: dts, yuan.peng; +Cc: Weiyuan Li

According to dpdk commit 44a37f3cffe0(app/testpmd: compact RSS types output) modify the script to adapt to this change.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_rss_to_rte_flow.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/TestSuite_rss_to_rte_flow.py b/tests/TestSuite_rss_to_rte_flow.py
index 044f3755..29faa5c4 100644
--- a/tests/TestSuite_rss_to_rte_flow.py
+++ b/tests/TestSuite_rss_to_rte_flow.py
@@ -395,10 +395,10 @@ class TestRSS_to_Rteflow(TestCase):
 
         # Show port default RSS functions
         self.dut.send_expect(
-            "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other"
+            "show port 0 rss-hash", "ipv4-frag  ipv4-other  ipv6-frag  ipv6-other"
         )
         self.dut.send_expect(
-            "show port 1 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other"
+            "show port 1 rss-hash", "ipv4-frag  ipv4-other  ipv6-frag  ipv6-other"
         )
 
         self.send_check_100_packet_queue("ipv4-other", "all", port_id=0)
@@ -465,7 +465,7 @@ class TestRSS_to_Rteflow(TestCase):
 
         self.dut.send_expect(
             "show port 1 rss-hash",
-            "ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other l2-payload sctp",
+            "sctp  ipv4-frag  ipv4-tcp  ipv4-udp  ipv4-sctp  ipv4-other\r\n  ipv6-frag  ipv6-tcp  ipv6-udp  ipv6-sctp  ipv6-other\r\n  l2-payload",
         )
         # send the packets and verify the results
         ptype_list1 = [
@@ -615,7 +615,7 @@ class TestRSS_to_Rteflow(TestCase):
             "created",
         )
         self.dut.send_expect(
-            "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other"
+            "show port 0 rss-hash", "ipv4-frag  ipv4-other  ipv6-frag  ipv6-other"
         )
 
         # send the packets and verify the results
@@ -646,7 +646,7 @@ class TestRSS_to_Rteflow(TestCase):
         # flush rule on port 0
         self.dut.send_expect("flow flush 0", "testpmd> ")
         self.dut.send_expect(
-            "show port 0 rss-hash", "ipv4-frag ipv4-other ipv6-frag ipv6-other"
+            "show port 0 rss-hash", "ipv4-frag  ipv4-other  ipv6-frag  ipv6-other"
         )
         # send the packets and verify the results
         self.send_check_100_packet_queue("ipv4-other", "all", port_id=0)
@@ -1427,7 +1427,7 @@ class TestRSS_to_Rteflow(TestCase):
         time.sleep(2)
 
         # Show port default RSS functions
-        self.dut.send_expect("show port 0 rss-hash", "ipv4 ipv6 ipv6-ex")
+        self.dut.send_expect("show port 0 rss-hash", "ipv4  ipv6  ipv6-ex")
         ptype_list1 = [
             "ipv4-other",
             "ipv4-frag",
@@ -1457,7 +1457,7 @@ class TestRSS_to_Rteflow(TestCase):
         )
         self.dut.send_expect(
             "show port 0 rss-hash",
-            "ipv4 ipv4-tcp ipv4-udp ipv6 ipv6-tcp ipv6-udp ipv6-ex ipv6-tcp-ex ipv6-udp-ex",
+            "udp  tcp  ipv4  ipv4-tcp  ipv4-udp  ipv6  ipv6-tcp  ipv6-udp\r\n  ipv6-ex  ipv6-tcp-ex  ipv6-udp-ex",
         )
         self.send_check_100_packet_queue(ptype_list1, "all", port_id=0)
 
@@ -1489,7 +1489,7 @@ class TestRSS_to_Rteflow(TestCase):
         time.sleep(2)
 
         # Show port default RSS fucntions
-        self.dut.send_expect("show port 0 rss-hash", "ipv4 ipv6 ipv6-ex")
+        self.dut.send_expect("show port 0 rss-hash", "ipv4  ipv6  ipv6-ex")
         # enable ipv4-udp rss function
         self.dut.send_expect(
             "flow create 0 ingress pattern end actions rss types ipv4-udp end / end",
@@ -1664,7 +1664,7 @@ class TestRSS_to_Rteflow(TestCase):
                 "created",
             )
         self.dut.send_expect(
-            "show port 0 rss-hash", "ipv4-tcp ipv4-udp ipv6-udp ipv6-udp-ex"
+            "show port 0 rss-hash", "ipv4-tcp  ipv4-udp  ipv6-udp  ipv6-udp-ex"
         )
         ptype_list1 = ["ipv4-udp", "ipv4-tcp", "ipv6-udp"]
         ptype_list2 = [
@@ -1700,7 +1700,7 @@ class TestRSS_to_Rteflow(TestCase):
                 "flow create 0 ingress pattern end actions rss types ipv4 ipv6 end queues 3 7 end / end",
                 "created",
             )
-        self.dut.send_expect("show port 0 rss-hash", "ipv4 ipv6")
+        self.dut.send_expect("show port 0 rss-hash", "ipv4  ipv6")
         ptype_list3 = [
             "ipv4-other",
             "ipv4-frag",
@@ -1788,7 +1788,7 @@ class TestRSS_to_Rteflow(TestCase):
                 "flow create 0 ingress pattern end actions rss types ipv6-tcp ipv4-udp end queues 5 6 7 end / end",
                 "created",
             )
-        self.dut.send_expect("show port 0 rss-hash", "ipv4-udp ipv6-tcp")
+        self.dut.send_expect("show port 0 rss-hash", "ipv4-udp  ipv6-tcp")
 
         # send the packets and verify the results
         ptype_list2 = ["ipv4-udp", "ipv6-tcp"]
-- 
2.27.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change
  2022-07-14  8:34 [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change Weiyuan Li
@ 2022-07-18  9:39 ` Chen, LingliX
  2022-09-07  4:48 ` Peng, Yuan
  2022-09-15  6:18 ` lijuan.tu
  2 siblings, 0 replies; 4+ messages in thread
From: Chen, LingliX @ 2022-07-18  9:39 UTC (permalink / raw)
  To: dts; +Cc: Li, WeiyuanX


> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Thursday, July 14, 2022 4:35 PM
> To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk
> change
> 
> According to dpdk commit 44a37f3cffe0(app/testpmd: compact RSS types
> output) modify the script to adapt to this change.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---

Tested-by: Lingli Chen <linglix.chen@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change
  2022-07-14  8:34 [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change Weiyuan Li
  2022-07-18  9:39 ` Chen, LingliX
@ 2022-09-07  4:48 ` Peng, Yuan
  2022-09-15  6:18 ` lijuan.tu
  2 siblings, 0 replies; 4+ messages in thread
From: Peng, Yuan @ 2022-09-07  4:48 UTC (permalink / raw)
  To: Li, WeiyuanX, dts

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

-----Original Message-----
From: Li, WeiyuanX <weiyuanx.li@intel.com> 
Sent: Thursday, July 14, 2022 4:35 PM
To: dts@dpdk.org; Peng, Yuan <yuan.peng@intel.com>
Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
Subject: [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change

According to dpdk commit 44a37f3cffe0(app/testpmd: compact RSS types output) modify the script to adapt to this change.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change
  2022-07-14  8:34 [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change Weiyuan Li
  2022-07-18  9:39 ` Chen, LingliX
  2022-09-07  4:48 ` Peng, Yuan
@ 2022-09-15  6:18 ` lijuan.tu
  2 siblings, 0 replies; 4+ messages in thread
From: lijuan.tu @ 2022-09-15  6:18 UTC (permalink / raw)
  To: dts, yuan.peng, Weiyuan Li; +Cc: Weiyuan Li

On Thu, 14 Jul 2022 16:34:33 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> According to dpdk commit 44a37f3cffe0(app/testpmd: compact RSS types output) modify the script to adapt to this change.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-15  6:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14  8:34 [dts][PATCH V1] tests/rss_to_rte_flow: update dts code for dpdk change Weiyuan Li
2022-07-18  9:39 ` Chen, LingliX
2022-09-07  4:48 ` Peng, Yuan
2022-09-15  6:18 ` lijuan.tu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).