* [dts][PATCH V1 0/2] Modify fdir pppol2tpoudp test plan and script
@ 2022-04-06 13:53 Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 1/2] test_plans/cvl_iavf_fdir_pppol2tpoudp: modify test plan for more fdir action Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 2/2] tests/cvl_iavf_fdir_pppol2tpoudp: modify test script " Yaqi Tang
0 siblings, 2 replies; 3+ messages in thread
From: Yaqi Tang @ 2022-04-06 13:53 UTC (permalink / raw)
To: dts; +Cc: Yaqi Tang
Modify fdir pppol2tpoudp test plan and script for more fdir action.
Yaqi Tang (2):
test_plans/cvl_iavf_fdir_pppol2tpoudp
tests/cvl_iavf_fdir_pppol2tpoudp
.../cvl_iavf_fdir_pppol2tpoudp_test_plan.rst | 76 ++++-----
tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py | 152 +++++++++---------
2 files changed, 114 insertions(+), 114 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts][PATCH V1 1/2] test_plans/cvl_iavf_fdir_pppol2tpoudp: modify test plan for more fdir action
2022-04-06 13:53 [dts][PATCH V1 0/2] Modify fdir pppol2tpoudp test plan and script Yaqi Tang
@ 2022-04-06 13:53 ` Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 2/2] tests/cvl_iavf_fdir_pppol2tpoudp: modify test script " Yaqi Tang
1 sibling, 0 replies; 3+ messages in thread
From: Yaqi Tang @ 2022-04-06 13:53 UTC (permalink / raw)
To: dts; +Cc: Yaqi Tang
Modify test plan for more fdir action.
Signed-off-by: Yaqi Tang <yaqi.tang@intel.com>
---
.../cvl_iavf_fdir_pppol2tpoudp_test_plan.rst | 76 +++++++++----------
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/test_plans/cvl_iavf_fdir_pppol2tpoudp_test_plan.rst b/test_plans/cvl_iavf_fdir_pppol2tpoudp_test_plan.rst
index 76cbdd20..da195ad2 100644
--- a/test_plans/cvl_iavf_fdir_pppol2tpoudp_test_plan.rst
+++ b/test_plans/cvl_iavf_fdir_pppol2tpoudp_test_plan.rst
@@ -157,7 +157,7 @@ Subcase 2: eth_l2_src_only_MAC_IPV4_L2TPV2_CONTROL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth src is <src mac change inputset> / ipv4 / udp / l2tpv2 type control / end actions queue index 5 / end
+ testpmd> flow create 0 ingress pattern eth src is <src mac change inputset> / ipv4 / udp / l2tpv2 type control / end actions drop / end
matched packets::
@@ -193,7 +193,7 @@ Subcase 2: eth_l2_src_only_MAC_IPV6_L2TPV2_CONTROL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth src is <src mac change inputset> / ipv6 / udp / l2tpv2 type control / end actions queue index 5 / end
+ testpmd> flow create 0 ingress pattern eth src is <src mac change inputset> / ipv6 / udp / l2tpv2 type control / end actions drop / end
matched packets::
@@ -245,7 +245,7 @@ Subcase 3: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_L
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is <session_id> / end actions queue index 2 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is <session_id> / end actions rss queues 2 3 end / end
matched packets::
@@ -277,7 +277,7 @@ Subcase 5: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions passthru / end
matched packets::
@@ -309,7 +309,7 @@ Subcase 7: l2tpv2_session_id_MAC_IPV4_L2TPV2_DATA_O
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / end actions queue index 3 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / end actions drop / end
matched packets::
@@ -409,7 +409,7 @@ Subcase 3: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_L
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is <session_id> / end actions queue index 2 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is <session_id> / end actions rss queues 2 3 end / end
matched packets::
@@ -441,7 +441,7 @@ Subcase 5: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is <session_id> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is <session_id> / end actions mark id 1 / end
matched packets::
@@ -473,7 +473,7 @@ Subcase 7: l2tpv2_session_id_MAC_IPV6_L2TPV2_DATA_O
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / end actions queue index 3 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / end actions drop / end
matched packets::
@@ -573,7 +573,7 @@ Subcase 3: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_L
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is <session_id> / ppp / end actions queue index 2 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is <session_id> / ppp / end actions rss queues 2 3 end / end
matched packets::
@@ -605,7 +605,7 @@ Subcase 5: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is <session_id> / ppp / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is <session_id> / ppp / end actions passthru / end
matched packets::
@@ -637,7 +637,7 @@ Subcase 7: l2tpv2_session_id_MAC_IPV4_PPPoL2TPV2_DATA_O
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / ppp / end actions queue index 3 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / ppp / end actions drop / end
matched packets::
@@ -737,7 +737,7 @@ Subcase 3: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_L
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is <session_id> / ppp / end actions queue index 2 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is <session_id> / ppp / end actions rss queues 2 3 end / end
matched packets::
@@ -769,7 +769,7 @@ Subcase 5: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is <session_id> / ppp / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is <session_id> / ppp / end actions mark id 1 / end
matched packets::
@@ -801,7 +801,7 @@ Subcase 7: l2tpv2_session_id_MAC_IPV6_PPPoL2TPV2_DATA_O
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / ppp / end actions queue index 3 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is <session_id> offset_size is <offset> / ppp / end actions drop / end
matched packets::
@@ -903,7 +903,7 @@ Subcase 3: ipv4_MAC_IPV4_PPPoL2TPV2_IPV4_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions rss queues 2 3 end / end
matched packets::
@@ -937,7 +937,7 @@ Subcase 5: ipv4_MAC_IPV4_PPPoL2TPV2_IPV4_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions drop / end
matched packets::
@@ -992,7 +992,7 @@ Subcase 3: ipv4_udp_MAC_IPV4_PPPoL2TPV2_IPV4_UDP_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is <ipv4 dst> / udp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is <ipv4 dst> / udp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1026,7 +1026,7 @@ Subcase 5: ipv4_udp_MAC_IPV4_PPPoL2TPV2_IPV4_UDP_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> / udp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> / udp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1081,7 +1081,7 @@ Subcase 3: ipv4_tcp_MAC_IPV4_PPPoL2TPV2_IPV4_TCP_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is <ipv4 dst> / tcp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is <ipv4 dst> / tcp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1115,7 +1115,7 @@ Subcase 5: ipv4_tcp_MAC_IPV4_PPPoL2TPV2_IPV4_TCP_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> / tcp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> / tcp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1170,7 +1170,7 @@ Subcase 3: ipv6_MAC_IPV4_PPPoL2TPV2_IPV6_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions rss queues 2 3 end / end
matched packets::
@@ -1204,7 +1204,7 @@ Subcase 5: ipv6_MAC_IPV4_PPPoL2TPV2_IPV6_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions drop / end
matched packets::
@@ -1259,7 +1259,7 @@ Subcase 3: ipv6_udp_MAC_IPV4_PPPoL2TPV2_IPV6_UDP_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / udp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / udp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1293,7 +1293,7 @@ Subcase 5: ipv6_udp_MAC_IPV4_PPPoL2TPV2_IPV6_UDP_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is <ipv6 dst> / udp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is <ipv6 dst> / udp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1348,7 +1348,7 @@ Subcase 3: ipv6_tcp_MAC_IPV4_PPPoL2TPV2_IPV6_TCP_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / tcp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / tcp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1382,7 +1382,7 @@ Subcase 5: ipv6_tcp_MAC_IPV4_PPPoL2TPV2_IPV6_TCP_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> / tcp src is <inner sport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> / tcp src is <inner sport> / end actions drop / end
matched packets::
@@ -1437,7 +1437,7 @@ Subcase 3: ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions rss queues 2 3 end / end
matched packets::
@@ -1471,7 +1471,7 @@ Subcase 5: ipv4_MAC_IPV6_PPPoL2TPV2_IPV4_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is <ipv4 src> dst is <ipv4 dst> / end actions drop / end
matched packets::
@@ -1526,7 +1526,7 @@ Subcase 3: ipv4_udp_MAC_IPV6_PPPoL2TPV2_IPV4_UDP_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> / udp dst is <inner dport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> / udp dst is <inner dport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1560,7 +1560,7 @@ Subcase 5: ipv4_udp_MAC_IPV6_PPPoL2TPV2_IPV4_UDP_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is <ipv4 dst> / udp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is <ipv4 dst> / udp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1615,7 +1615,7 @@ Subcase 3: ipv4_tcp_MAC_IPV6_PPPoL2TPV2_IPV4_TCP_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> / tcp dst is <inner dport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is <ipv4 src> / tcp dst is <inner dport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1649,7 +1649,7 @@ Subcase 5: ipv4_tcp_MAC_IPV6_PPPoL2TPV2_IPV4_TCP_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is <ipv4 dst> / tcp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is <ipv4 dst> / tcp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1704,7 +1704,7 @@ Subcase 3: ipv6_MAC_IPV6_PPPoL2TPV2_IPV6_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions rss queues 2 3 end / end
matched packets::
@@ -1738,7 +1738,7 @@ Subcase 5: ipv6_MAC_IPV6_PPPoL2TPV2_IPV6_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> dst is <ipv6 dst> / end actions drop / end
matched packets::
@@ -1793,7 +1793,7 @@ Subcase 3: ipv6_udp_MAC_IPV6_PPPoL2TPV2_IPV6_UDP_PAY_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / udp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / udp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1827,7 +1827,7 @@ Subcase 5: ipv6_udp_MAC_IPV6_PPPoL2TPV2_IPV6_UDP_PAY_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is <ipv6 dst> / udp dst is <inner dport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is <ipv6 dst> / udp dst is <inner dport> / end actions drop / end
matched packets::
@@ -1882,7 +1882,7 @@ Subcase 3: ipv6_tcp_MAC_IPV6_PPPoL2TPV2_IPV6_TCP_DATA_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / tcp src is <inner sport> / end actions queue index 7 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is <ipv6 dst> / tcp src is <inner sport> / end actions rss queues 2 3 end / end
matched packets::
@@ -1916,7 +1916,7 @@ Subcase 5: ipv6_tcp_MAC_IPV6_PPPoL2TPV2_IPV6_TCP_DATA_L_S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rules::
- testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> / tcp src is <inner sport> / end actions queue index 4 / end
+ testpmd> flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is <ipv6 src> / tcp src is <inner sport> / end actions drop / end
matched packets::
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts][PATCH V1 2/2] tests/cvl_iavf_fdir_pppol2tpoudp: modify test script for more fdir action
2022-04-06 13:53 [dts][PATCH V1 0/2] Modify fdir pppol2tpoudp test plan and script Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 1/2] test_plans/cvl_iavf_fdir_pppol2tpoudp: modify test plan for more fdir action Yaqi Tang
@ 2022-04-06 13:53 ` Yaqi Tang
1 sibling, 0 replies; 3+ messages in thread
From: Yaqi Tang @ 2022-04-06 13:53 UTC (permalink / raw)
To: dts; +Cc: Yaqi Tang
Modify test script for more fdir action.
Signed-off-by: Yaqi Tang <yaqi.tang@intel.com>
---
tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py | 152 +++++++++---------
1 file changed, 76 insertions(+), 76 deletions(-)
diff --git a/tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py b/tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py
index f2a2a9ec..85d455be 100644
--- a/tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py
+++ b/tests/TestSuite_cvl_iavf_fdir_pppol2tpoudp.py
@@ -62,7 +62,7 @@ tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_control = {
tv_eth_l2_src_only_mac_ipv4_l2tpv2_control = {
"name": "eth_l2_src_only_mac_ipv4_l2tpv2_control",
- "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type control / end actions queue index 5 / end",
+ "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv4 / udp / l2tpv2 type control / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="00:00:00:00:00:01")/IP()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)',
@@ -73,7 +73,7 @@ tv_eth_l2_src_only_mac_ipv4_l2tpv2_control = {
'Ether(src="00:00:00:00:00:01")/IPv6()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 5},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_l2tpv2_control = [
@@ -99,7 +99,7 @@ tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_control = {
tv_eth_l2_src_only_mac_ipv6_l2tpv2_control = {
"name": "eth_l2_src_only_mac_ipv6_l2tpv2_control",
- "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type control / end actions queue index 5 / end",
+ "rule": "flow create 0 ingress pattern eth src is 00:00:00:00:00:01 / ipv6 / udp / l2tpv2 type control / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="00:00:00:00:00:01")/IPv6()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)',
@@ -110,7 +110,7 @@ tv_eth_l2_src_only_mac_ipv6_l2tpv2_control = {
'Ether(src="00:00:00:00:00:01")/IP()/UDP(dport=1701)/L2TP(hdr=0xc80,len=12,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 5},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_l2tpv2_control = [tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_control,tv_eth_l2_src_only_mac_ipv6_l2tpv2_control]
@@ -149,7 +149,7 @@ tv_eth_l2_src_only_mac_ipv4_l2tpv2_data = {
tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_l = {
"name": "l2tpv2_seession_id_mac_ipv4_l2tpv2_data_l",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions queue index 2 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)',
@@ -160,7 +160,7 @@ tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_l = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 2},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_eth_l2_src_only_mac_ipv4_l2tpv2_data_l = {
@@ -181,7 +181,7 @@ tv_eth_l2_src_only_mac_ipv4_l2tpv2_data_l = {
tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_s = {
"name": "l2tpv2_seession_id_mac_ipv4_l2tpv2_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions passthru / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)',
@@ -192,7 +192,7 @@ tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "passthru": 1},
}
tv_eth_l2_src_only_mac_ipv4_l2tpv2_data_s = {
@@ -213,7 +213,7 @@ tv_eth_l2_src_only_mac_ipv4_l2tpv2_data_s = {
tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_o = {
"name": "l2tpv2_seession_id_mac_ipv4_l2tpv2_data_o",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions queue index 3 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)',
@@ -224,7 +224,7 @@ tv_l2tpv2_seession_id_mac_ipv4_l2tpv2_data_o = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)',
],
},
- "check_param": {"port_id": 0, "queue": 3},
+ "check_param": {"port_id": 0, "drop": 1},
}
tv_eth_l2_src_only_mac_ipv4_l2tpv2_data_o = {
@@ -322,7 +322,7 @@ tv_eth_l2_src_only_mac_ipv6_l2tpv2_data = {
tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_l = {
"name": "l2tpv2_seession_id_mac_ipv6_l2tpv2_data_l",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions queue index 2 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)',
@@ -333,7 +333,7 @@ tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_l = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 2},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_eth_l2_src_only_mac_ipv6_l2tpv2_data_l = {
@@ -354,7 +354,7 @@ tv_eth_l2_src_only_mac_ipv6_l2tpv2_data_l = {
tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_s = {
"name": "l2tpv2_seession_id_mac_ipv6_l2tpv2_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / end actions mark id 1 / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)',
@@ -365,7 +365,7 @@ tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "mark_id": 1},
}
tv_eth_l2_src_only_mac_ipv6_l2tpv2_data_s = {
@@ -386,7 +386,7 @@ tv_eth_l2_src_only_mac_ipv6_l2tpv2_data_s = {
tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_o = {
"name": "l2tpv2_seession_id_mac_ipv6_l2tpv2_data_o",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions queue index 3 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)',
@@ -397,7 +397,7 @@ tv_l2tpv2_seession_id_mac_ipv6_l2tpv2_data_o = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x020,session_id=0x1111,offset=6)',
],
},
- "check_param": {"port_id": 0, "queue": 3},
+ "check_param": {"port_id": 0, "drop": 1},
}
tv_eth_l2_src_only_mac_ipv6_l2tpv2_data_o = {
@@ -495,7 +495,7 @@ tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data = {
tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_l = {
"name": "l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_l",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions queue index 2 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
@@ -506,7 +506,7 @@ tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_l = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
],
},
- "check_param": {"port_id": 0, "queue": 2},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data_l = {
@@ -527,7 +527,7 @@ tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data_l = {
tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_s = {
"name": "l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions passthru / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
@@ -538,7 +538,7 @@ tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "passthru": 1},
}
tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data_s = {
@@ -559,7 +559,7 @@ tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data_s = {
tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_o = {
"name": "l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_o",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions queue index 3 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions drop / end",
"scapy_str": {
"match": [
'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")',
@@ -570,7 +570,7 @@ tv_l2tpv2_seession_id_mac_ipv4_pppol2tpv2_data_o = {
'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")',
],
},
- "check_param": {"port_id": 0, "queue": 3},
+ "check_param": {"port_id": 0, "drop": 1},
}
tv_eth_l2_src_only_mac_ipv4_pppol2tpv2_data_o = {
@@ -668,7 +668,7 @@ tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data = {
tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_l = {
"name": "l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_l",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions queue index 2 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l session_id is 0x1111 / ppp / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
@@ -679,7 +679,7 @@ tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_l = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x400,len=8,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
],
},
- "check_param": {"port_id": 0, "queue": 2},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data_l = {
@@ -700,7 +700,7 @@ tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data_l = {
tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_s = {
"name": "l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s session_id is 0x1111 / ppp / end actions mark id 1 / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
@@ -711,7 +711,7 @@ tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080,session_id=0x1111)/HDLC()/Raw(b"\\x00\\x00")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "mark_id": 1},
}
tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data_s = {
@@ -732,7 +732,7 @@ tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data_s = {
tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_o = {
"name": "l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_o",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions queue index 3 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_o session_id is 0x1111 offset_size is 6 / ppp / end actions drop / end",
"scapy_str": {
"match": [
'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")',
@@ -743,7 +743,7 @@ tv_l2tpv2_seession_id_mac_ipv6_pppol2tpv2_data_o = {
'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")',
],
},
- "check_param": {"port_id": 0, "queue": 3},
+ "check_param": {"port_id": 0, "drop": 1},
}
tv_eth_l2_src_only_mac_ipv6_pppol2tpv2_data_o = {
@@ -843,7 +843,7 @@ tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_l = {
tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_s = {
"name": "ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
@@ -855,7 +855,7 @@ tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_o = {
@@ -877,7 +877,7 @@ tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_o = {
tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_l_s = {
"name": "ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=36)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
@@ -889,7 +889,7 @@ tv_ipv4_mac_ipv4_pppol2tpv2_ipv4_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=36)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv4_pay = [
@@ -936,7 +936,7 @@ tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_l = {
tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_s = {
"name": "ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is 10.0.0.22 / udp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is 10.0.0.22 / udp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/UDP(sport=11)',
@@ -948,7 +948,7 @@ tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/UDP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_o = {
@@ -970,7 +970,7 @@ tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_o = {
tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_l_s = {
"name": "ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 / udp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 / udp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/UDP(dport=22)',
@@ -982,7 +982,7 @@ tv_ipv4_udp_mac_ipv4_pppol2tpv2_ipv4_udp_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/UDP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv4_udp_pay = [
@@ -1029,7 +1029,7 @@ tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_l = {
tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_s = {
"name": "ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is 10.0.0.22 / tcp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv4 dst is 10.0.0.22 / tcp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/TCP(sport=11)',
@@ -1041,7 +1041,7 @@ tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/TCP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_o = {
@@ -1063,7 +1063,7 @@ tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_o = {
tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_l_s = {
"name": "ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 / tcp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 / tcp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/TCP(dport=22)',
@@ -1075,7 +1075,7 @@ tv_ipv4_tcp_mac_ipv4_pppol2tpv2_ipv4_tcp_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/TCP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv4_tcp = [
@@ -1122,7 +1122,7 @@ tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_l = {
tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_s = {
"name": "ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
@@ -1134,7 +1134,7 @@ tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_o = {
@@ -1156,7 +1156,7 @@ tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_o = {
tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_l_s = {
"name": "ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
@@ -1168,7 +1168,7 @@ tv_ipv6_mac_ipv4_pppol2tpv2_ipv6_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv6_pay = [
@@ -1215,7 +1215,7 @@ tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_l = {
tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_s = {
"name": "ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=11)',
@@ -1227,7 +1227,7 @@ tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_o = {
@@ -1249,7 +1249,7 @@ tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_o = {
tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_l_s = {
"name": "ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=64)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(dport=22)',
@@ -1261,7 +1261,7 @@ tv_ipv6_udp_mac_ipv4_pppol2tpv2_ipv6_udp_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=64)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv6_udp_pay = [
@@ -1308,7 +1308,7 @@ tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_l = {
tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_s = {
"name": "ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / tcp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / tcp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=11)',
@@ -1320,7 +1320,7 @@ tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_o = {
@@ -1342,7 +1342,7 @@ tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_o = {
tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_l_s = {
"name": "ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 / tcp src is 11 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv4 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 / tcp src is 11 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=76)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929")/TCP(sport=11)',
@@ -1354,7 +1354,7 @@ tv_ipv6_tcp_mac_ipv4_pppol2tpv2_ipv6_tcp_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=76)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929")/TCP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv4_pppol2tpv2_ipv6_tcp = [
@@ -1401,7 +1401,7 @@ tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_l = {
tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_s = {
"name": "ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
@@ -1413,7 +1413,7 @@ tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_o = {
@@ -1435,7 +1435,7 @@ tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_o = {
tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_l_s = {
"name": "ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 src is 10.0.0.11 dst is 10.0.0.22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=36)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
@@ -1447,7 +1447,7 @@ tv_ipv4_mac_ipv6_pppol2tpv2_ipv4_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=36)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11",dst="10.0.0.22")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv4_pay = [
@@ -1494,7 +1494,7 @@ tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_l = {
tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_s = {
"name": "ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 / udp dst is 22 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 / udp dst is 22 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/UDP(dport=22)',
@@ -1506,7 +1506,7 @@ tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/UDP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_o = {
@@ -1528,7 +1528,7 @@ tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_o = {
tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_l_s = {
"name": "ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is 10.0.0.22 / udp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is 10.0.0.22 / udp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/UDP(dport=22)',
@@ -1540,7 +1540,7 @@ tv_ipv4_udp_mac_ipv6_pppol2tpv2_ipv4_udp_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=44)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/UDP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv4_udp_pay = [
@@ -1587,7 +1587,7 @@ tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_l = {
tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_s = {
"name": "ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 / tcp dst is 22 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv4 src is 10.0.0.11 / tcp dst is 22 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/TCP(dport=22)',
@@ -1599,7 +1599,7 @@ tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x21")/IP(src="10.0.0.11")/TCP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_o = {
@@ -1621,7 +1621,7 @@ tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_o = {
tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_l_s = {
"name": "ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is 10.0.0.22 / tcp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv4 dst is 10.0.0.22 / tcp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/TCP(dport=22)',
@@ -1633,7 +1633,7 @@ tv_ipv4_tcp_mac_ipv6_pppol2tpv2_ipv4_tcp_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x21")/IP(dst="10.0.0.22")/TCP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv4_tcp = [
@@ -1680,7 +1680,7 @@ tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_l = {
tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_s = {
"name": "ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
@@ -1692,7 +1692,7 @@ tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_o = {
@@ -1714,7 +1714,7 @@ tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_o = {
tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_l_s = {
"name": "ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
@@ -1726,7 +1726,7 @@ tv_ipv6_mac_ipv6_pppol2tpv2_ipv6_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=56)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv6_pay = [
@@ -1773,7 +1773,7 @@ tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_l = {
tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_s = {
"name": "ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=11)',
@@ -1785,7 +1785,7 @@ tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_o = {
@@ -1807,7 +1807,7 @@ tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_o = {
tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_l_s = {
"name": "ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp dst is 22 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / udp dst is 22 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=64)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(dport=22)',
@@ -1819,7 +1819,7 @@ tv_ipv6_udp_mac_ipv6_pppol2tpv2_ipv6_udp_pay_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=64)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(dport=22)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv6_udp_pay = [
@@ -1866,7 +1866,7 @@ tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_l = {
tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_s = {
"name": "ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / tcp src is 11 / end actions queue index 7 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_s / ppp / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / tcp src is 11 / end actions rss queues 2 3 end / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=11)',
@@ -1878,7 +1878,7 @@ tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x080)/HDLC()/Raw(b"\\x00\\x57")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 7},
+ "check_param": {"port_id": 0, "queue": [2, 3]},
}
tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_o = {
@@ -1900,7 +1900,7 @@ tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_o = {
tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_l_s = {
"name": "ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_l_s",
- "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 / tcp src is 11 / end actions queue index 4 / end",
+ "rule": "flow create 0 ingress pattern eth / ipv6 / udp / l2tpv2 type data_l_s / ppp / ipv6 src is ABAB:910B:6666:3457:8295:3333:1800:2929 / tcp src is 11 / end actions drop / end",
"scapy_str": {
"match": [
'Ether(src="11:22:33:44:55:77")/IPv6()/UDP(dport=1701)/L2TP(hdr=0x480,len=76)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929")/TCP(sport=11)',
@@ -1912,7 +1912,7 @@ tv_ipv6_tcp_mac_ipv6_pppol2tpv2_ipv6_tcp_data_l_s = {
'Ether(src="11:22:33:44:55:77")/IP()/UDP(dport=1701)/L2TP(hdr=0x480,len=76)/HDLC()/Raw(b"\\x00\\x57")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929")/TCP(sport=11)',
],
},
- "check_param": {"port_id": 0, "queue": 4},
+ "check_param": {"port_id": 0, "drop": 1},
}
vectors_mac_ipv6_pppol2tpv2_ipv6_tcp = [
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-06 13:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 13:53 [dts][PATCH V1 0/2] Modify fdir pppol2tpoudp test plan and script Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 1/2] test_plans/cvl_iavf_fdir_pppol2tpoudp: modify test plan for more fdir action Yaqi Tang
2022-04-06 13:53 ` [dts][PATCH V1 2/2] tests/cvl_iavf_fdir_pppol2tpoudp: modify test script " Yaqi Tang
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).