test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V2 0/2] Modify rss pppol2tpoudp test plan and script
@ 2022-04-06 15:07 Yaqi Tang
  2022-04-06 15:07 ` [dts][PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss_pppol2tpoudp: modify test plan for rss rule Yaqi Tang
  2022-04-06 15:07 ` [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script " Yaqi Tang
  0 siblings, 2 replies; 4+ messages in thread
From: Yaqi Tang @ 2022-04-06 15:07 UTC (permalink / raw)
  To: dts; +Cc: Yaqi Tang

Modify rss pppol2tpoudp test plan and script

Yaqi Tang (2):
  test_plans/cvl_advanced_iavf_rss_pppol2tpoudp
  tests/cvl_advanced_iavf_rss_pppol2tpoudp

 ...vanced_iavf_rss_pppol2tpoudp_test_plan.rst | 88 +++++++++----------
 ...uite_cvl_advanced_iavf_rss_pppol2tpoudp.py | 88 +++++++++----------
 2 files changed, 88 insertions(+), 88 deletions(-)

-- 
2.25.1


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

* [dts][PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss_pppol2tpoudp: modify test plan for rss rule
  2022-04-06 15:07 [dts][PATCH V2 0/2] Modify rss pppol2tpoudp test plan and script Yaqi Tang
@ 2022-04-06 15:07 ` Yaqi Tang
  2022-04-06 15:07 ` [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script " Yaqi Tang
  1 sibling, 0 replies; 4+ messages in thread
From: Yaqi Tang @ 2022-04-06 15:07 UTC (permalink / raw)
  To: dts; +Cc: Yaqi Tang

Since the previous RSS rule has specific parameters, but RSS rule cannot have specific parameters. So delet the specific parameters.

Signed-off-by: Yaqi Tang <yaqi.tang@intel.com>
---
 ...vanced_iavf_rss_pppol2tpoudp_test_plan.rst | 88 +++++++++----------
 1 file changed, 44 insertions(+), 44 deletions(-)

diff --git a/test_plans/cvl_advanced_iavf_rss_pppol2tpoudp_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_pppol2tpoudp_test_plan.rst
index 7de39295..11738250 100644
--- a/test_plans/cvl_advanced_iavf_rss_pppol2tpoudp_test_plan.rst
+++ b/test_plans/cvl_advanced_iavf_rss_pppol2tpoudp_test_plan.rst
@@ -2749,7 +2749,7 @@ Test case 1: l2tpv2_session_id_MAC_IPV4_L2TPV2_CONTROL
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2788,7 +2788,7 @@ Test case 2: eth_l2_src_only_MAC_IPV4_L2TPV2_CONTROL
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2827,7 +2827,7 @@ Test case 3: l2tpv2_session_id_MAC_IPV6_L2TPV2_CONTROL
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2866,7 +2866,7 @@ Test case 4: eth_l2_src_only_MAC_IPV6_L2TPV2_CONTROL
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2905,7 +2905,7 @@ Test case 5: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2944,7 +2944,7 @@ Test case 6: eth_l2_src_only_MAC_IPV4_L2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -2983,7 +2983,7 @@ Test case 7: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3022,7 +3022,7 @@ Test case 8: eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3061,7 +3061,7 @@ Test case 9: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3100,7 +3100,7 @@ Test case 10: eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully. 
 
@@ -3139,7 +3139,7 @@ Test case 11: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3178,7 +3178,7 @@ Test case 12: eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3217,7 +3217,7 @@ Test case 13: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3256,7 +3256,7 @@ Test case 14: eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3295,7 +3295,7 @@ Test case 15: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3334,7 +3334,7 @@ Test case 16: eth_l2_src_only_MAC_IPV6_L2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3373,7 +3373,7 @@ Test case 17: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3412,7 +3412,7 @@ Test case 18: eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3451,7 +3451,7 @@ Test case 19: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3490,7 +3490,7 @@ Test case 20: eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3529,7 +3529,7 @@ Test case 21: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3568,7 +3568,7 @@ Test case 22: eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3607,7 +3607,7 @@ Test case 23: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3646,7 +3646,7 @@ Test case 24: eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3685,7 +3685,7 @@ Test case 25: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3724,7 +3724,7 @@ Test case 26: eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3763,7 +3763,7 @@ Test case 27: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3802,7 +3802,7 @@ Test case 28: eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3841,7 +3841,7 @@ Test case 29: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3880,7 +3880,7 @@ Test case 30: eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3919,7 +3919,7 @@ Test case 31: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3958,7 +3958,7 @@ Test case 32: eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -3997,7 +3997,7 @@ Test case 33: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4036,7 +4036,7 @@ Test case 34: eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4075,7 +4075,7 @@ Test case 35: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4114,7 +4114,7 @@ Test case 36: eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4153,7 +4153,7 @@ Test case 37: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4192,7 +4192,7 @@ Test case 38: eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_L
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4231,7 +4231,7 @@ Test case 39: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4270,7 +4270,7 @@ Test case 40: eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4309,7 +4309,7 @@ Test case 41: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4348,7 +4348,7 @@ Test case 42: eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_O
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4387,7 +4387,7 @@ Test case 43: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
@@ -4426,7 +4426,7 @@ Test case 44: eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_L_S
 
 2. create a rss rule::
 
-    flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
+    flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end
 
    check there is a rss rule listed successfully.
 
-- 
2.25.1


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

* [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script for rss rule
  2022-04-06 15:07 [dts][PATCH V2 0/2] Modify rss pppol2tpoudp test plan and script Yaqi Tang
  2022-04-06 15:07 ` [dts][PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss_pppol2tpoudp: modify test plan for rss rule Yaqi Tang
@ 2022-04-06 15:07 ` Yaqi Tang
  2022-04-11  2:52   ` lijuan.tu
  1 sibling, 1 reply; 4+ messages in thread
From: Yaqi Tang @ 2022-04-06 15:07 UTC (permalink / raw)
  To: dts; +Cc: Yaqi Tang

Since the previous RSS rule has specific parameters, but RSS rule cannot have specific parameters. So delet the specific parameters.

Signed-off-by: Yaqi Tang <yaqi.tang@intel.com>
---
 ...uite_cvl_advanced_iavf_rss_pppol2tpoudp.py | 88 +++++++++----------
 1 file changed, 44 insertions(+), 44 deletions(-)

diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_pppol2tpoudp.py b/tests/TestSuite_cvl_advanced_iavf_rss_pppol2tpoudp.py
index 82c35d6e..f47a3ae7 100644
--- a/tests/TestSuite_cvl_advanced_iavf_rss_pppol2tpoudp.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss_pppol2tpoudp.py
@@ -1889,7 +1889,7 @@ vector_case_65 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_CONTROL",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)",
@@ -1915,7 +1915,7 @@ vector_case_66 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_CONTROL",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type control / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)",
@@ -1941,7 +1941,7 @@ vector_case_67 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_CONTROL",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)",
@@ -1967,7 +1967,7 @@ vector_case_68 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_CONTROL",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type control session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type control / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)",
@@ -1993,7 +1993,7 @@ vector_case_69 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)",
@@ -2019,7 +2019,7 @@ vector_case_70 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)",
@@ -2045,7 +2045,7 @@ vector_case_71 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)",
@@ -2071,7 +2071,7 @@ vector_case_72 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)",
@@ -2097,7 +2097,7 @@ vector_case_73 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)",
@@ -2123,7 +2123,7 @@ vector_case_74 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)",
@@ -2149,7 +2149,7 @@ vector_case_75 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)",
@@ -2175,7 +2175,7 @@ vector_case_76 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)",
@@ -2201,7 +2201,7 @@ vector_case_77 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=12,session_id=0x1111)",
@@ -2227,7 +2227,7 @@ vector_case_78 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_L2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=12,session_id=0x1111)",
@@ -2253,7 +2253,7 @@ vector_case_79 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)",
@@ -2279,7 +2279,7 @@ vector_case_80 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)",
@@ -2305,7 +2305,7 @@ vector_case_81 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)",
@@ -2331,7 +2331,7 @@ vector_case_82 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)",
@@ -2357,7 +2357,7 @@ vector_case_83 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)",
@@ -2383,7 +2383,7 @@ vector_case_84 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)",
@@ -2409,7 +2409,7 @@ vector_case_85 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)",
@@ -2435,7 +2435,7 @@ vector_case_86 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)",
@@ -2461,7 +2461,7 @@ vector_case_87 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=12,session_id=0x1111)",
@@ -2487,7 +2487,7 @@ vector_case_88 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_L2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=12,session_id=0x1111)",
@@ -2513,7 +2513,7 @@ vector_case_89 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2539,7 +2539,7 @@ vector_case_90 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2565,7 +2565,7 @@ vector_case_91 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=12,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2591,7 +2591,7 @@ vector_case_92 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=12,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2617,7 +2617,7 @@ vector_case_93 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2643,7 +2643,7 @@ vector_case_94 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2669,7 +2669,7 @@ vector_case_95 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)/Raw(b'\\x00\\x00\\x00\\x00')/HDLC()/Raw(b'\\x00\\x00')",
@@ -2695,7 +2695,7 @@ vector_case_96 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)/Raw(b'\\x00\\x00\\x00\\x00')/HDLC()/Raw(b'\\x00\\x00')",
@@ -2721,7 +2721,7 @@ vector_case_97 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=16,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2747,7 +2747,7 @@ vector_case_98 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV4_PPPoL2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=16,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2773,7 +2773,7 @@ vector_case_99 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2799,7 +2799,7 @@ vector_case_100 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x000,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2825,7 +2825,7 @@ vector_case_101 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=12,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2851,7 +2851,7 @@ vector_case_102 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_L",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=12,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2877,7 +2877,7 @@ vector_case_103 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2903,7 +2903,7 @@ vector_case_104 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -2929,7 +2929,7 @@ vector_case_105 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)/Raw(b'\\x00\\x00\\x00\\x00')/HDLC()/Raw(b'\\x00\\x00')",
@@ -2955,7 +2955,7 @@ vector_case_106 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_O",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)/Raw(b'\\x00\\x00\\x00\\x00')/HDLC()/Raw(b'\\x00\\x00')",
@@ -2981,7 +2981,7 @@ vector_case_107 = [
     {
         "sub_casename": "l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / end actions rss types l2tpv2 end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='11:22:33:44:55:77')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=16,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
@@ -3007,7 +3007,7 @@ vector_case_108 = [
     {
         "sub_casename": "eth_l2_src_only_MAC_IPV6_PPPoL2TPV2_DATA_L_S",
         "port_id": 0,
-        "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type data_l_s session_id is 0x1111 / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
+        "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / end actions rss types eth l2-src-only end key_len 0 queues end / end",
         "test": [
             {
                 "send_packet": "Ether(src='00:00:00:00:00:01')/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=16,session_id=0x1111)/HDLC()/Raw(b'\\x00\\x00')",
-- 
2.25.1


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

* [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script for rss rule
  2022-04-06 15:07 ` [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script " Yaqi Tang
@ 2022-04-11  2:52   ` lijuan.tu
  0 siblings, 0 replies; 4+ messages in thread
From: lijuan.tu @ 2022-04-11  2:52 UTC (permalink / raw)
  To: dts, Yaqi Tang; +Cc: Yaqi Tang

On Wed,  6 Apr 2022 23:07:47 +0800, Yaqi Tang <yaqi.tang@intel.com> wrote:
> Since the previous RSS rule has specific parameters, but RSS rule cannot have specific parameters. So delet the specific parameters.
> 
> Signed-off-by: Yaqi Tang <yaqi.tang@intel.com>


Series applied, thanks

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

end of thread, other threads:[~2022-04-11  2:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 15:07 [dts][PATCH V2 0/2] Modify rss pppol2tpoudp test plan and script Yaqi Tang
2022-04-06 15:07 ` [dts][PATCH V2 1/2] test_plans/cvl_advanced_iavf_rss_pppol2tpoudp: modify test plan for rss rule Yaqi Tang
2022-04-06 15:07 ` [dts][PATCH V2 2/2] tests/cvl_advanced_iavf_rss_pppol2tpoudp: modify test script " Yaqi Tang
2022-04-11  2:52   ` 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).