* [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets
@ 2022-05-20 5:45 Jiale Song
2022-05-20 5:45 ` [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: " Jiale Song
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:45 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
| 108 --------
| 236 ------------------
2 files changed, 344 deletions(-)
--git a/test_plans/ice_advanced_iavf_rss_test_plan.rst b/test_plans/ice_advanced_iavf_rss_test_plan.rst
index fa02ddd6..7ac66f5a 100644
--- a/test_plans/ice_advanced_iavf_rss_test_plan.rst
+++ b/test_plans/ice_advanced_iavf_rss_test_plan.rst
@@ -402,10 +402,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -425,10 +421,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -442,10 +434,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -467,10 +455,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -490,10 +474,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -507,10 +487,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -530,10 +506,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -547,10 +519,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -570,10 +538,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -587,10 +551,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -611,11 +571,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -631,10 +586,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -978,10 +929,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1001,10 +948,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1018,10 +961,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1043,10 +982,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1066,10 +1001,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1083,10 +1014,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1106,10 +1033,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1123,10 +1046,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1146,10 +1065,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1163,10 +1078,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1187,11 +1098,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="enp134s0f0")
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -1207,10 +1113,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -2379,11 +2281,6 @@ ipv4-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="enp134s0f0")
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)],iface="enp134s0f0")
-ipv4-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="enp134s0f0")
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)],iface="enp134s0f0")
-
ipv4-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="enp134s0f0")
@@ -2476,11 +2373,6 @@ ipv6-nonfrag packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="enp134s0f0")
-ipv6-frag packets::
-
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
- sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="enp134s0f0")
-
ipv6-icmp packets::
sendp([Ether(dst="00:11:22:33:44:55", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="enp134s0f0")
--git a/tests/TestSuite_ice_advanced_iavf_rss.py b/tests/TestSuite_ice_advanced_iavf_rss.py
index d9479e50..b91ce9a6 100644
--- a/tests/TestSuite_ice_advanced_iavf_rss.py
+++ b/tests/TestSuite_ice_advanced_iavf_rss.py
@@ -47,10 +47,6 @@ mac_ipv4_toeplitz_basic_pkt = {
'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)'
% vf0_mac,
],
- "ipv4-frag": [
- 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)'
- % vf0_mac,
- ],
"ipv4-icmp": [
'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)'
% vf0_mac,
@@ -99,10 +95,6 @@ mac_ipv6_toeplitz_basic_pkt = {
'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)'
% vf0_mac,
],
- "ipv6-frag": [
- 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- ],
"ipv6-icmp": [
'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)'
% vf0_mac,
@@ -166,20 +158,6 @@ mac_ipv4_l2_src = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -225,15 +203,6 @@ mac_ipv4_l2_dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -274,20 +243,6 @@ mac_ipv4_l2src_l2dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -338,20 +293,6 @@ mac_ipv4_l3_src = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -414,20 +355,6 @@ mac_ipv4_l3_dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -495,25 +422,6 @@ mac_ipv4_all = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -1993,20 +1901,6 @@ mac_ipv6_l2_src = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2052,15 +1946,6 @@ mac_ipv6_l2_dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2101,20 +1986,6 @@ mac_ipv6_l2src_l2dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2165,20 +2036,6 @@ mac_ipv6_l3_src = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2241,20 +2098,6 @@ mac_ipv6_l3_dst = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2322,25 +2165,6 @@ mac_ipv6_all = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E1")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -3748,16 +3572,6 @@ mac_ipv4_symmetric = {
% vf0_mac,
"action": {"check_hash_different": "ipv4-nonfrag-pre"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv4-frag-pre"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag-pre"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)'
% vf0_mac,
@@ -3798,16 +3612,6 @@ mac_ipv4_symmetric = {
% vf0_mac,
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)'
% vf0_mac,
@@ -3858,16 +3662,6 @@ mac_ipv4_symmetric = {
% vf0_mac,
"action": {"check_hash_different": "ipv4-nonfrag-post"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv4-frag-post"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv4-frag-post"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)'
% vf0_mac,
@@ -4320,16 +4114,6 @@ mac_ipv6_symmetric = {
% vf0_mac,
"action": {"check_hash_different": "ipv6-nonfrag-pre"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv6-frag-pre"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag-pre"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)'
% vf0_mac,
@@ -4370,16 +4154,6 @@ mac_ipv6_symmetric = {
% vf0_mac,
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)'
% vf0_mac,
@@ -4430,16 +4204,6 @@ mac_ipv6_symmetric = {
% vf0_mac,
"action": {"check_hash_different": "ipv6-nonfrag-post"},
},
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"save_hash": "ipv6-frag-post"},
- },
- {
- "send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)'
- % vf0_mac,
- "action": {"check_hash_different": "ipv6-frag-post"},
- },
{
"send_packet": 'Ether(dst="%s", src="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)'
% vf0_mac,
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: remove ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
@ 2022-05-20 5:45 ` Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 3/8] tests/ice_advanced_rss: " Jiale Song
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:45 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
| 240 ---------
| 464 +-----------------
2 files changed, 2 insertions(+), 702 deletions(-)
--git a/test_plans/ice_advanced_rss_pppoe_test_plan.rst b/test_plans/ice_advanced_rss_pppoe_test_plan.rst
index 05dd82b6..a8633f4b 100644
--- a/test_plans/ice_advanced_rss_pppoe_test_plan.rst
+++ b/test_plans/ice_advanced_rss_pppoe_test_plan.rst
@@ -487,8 +487,6 @@ packets mismatched the pattern::
sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0")
sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)],iface="ens786f0")
Subcase 1: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY
-----------------------------------------
@@ -531,21 +529,6 @@ Subcase 1: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the field [Source MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -597,21 +580,6 @@ Subcase 2: MAC_PPPOE_IPV4_PAY_L2_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the field [Dest MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=4)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -665,23 +633,6 @@ Subcase 3: MAC_PPPOE_IPV4_PAY_L2_SRC_ONLY_L2_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the fields [Source MAC][Dest MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -733,21 +684,6 @@ Subcase 4: MAC_PPPOE_IPV4_PAY_L3_SRC_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the field [Source IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.7", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -799,21 +735,6 @@ Subcase 5: MAC_PPPOE_IPV4_PAY_L3_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the field [Dest IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.3", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.7", dst="192.168.1.2", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -867,23 +788,6 @@ Subcase 6: MAC_PPPOE_IPV4_PAY_L3_SRC_ONLY_L3_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- change the fields [Source IP][Dest IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.7", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.3", dst="192.168.1.7", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53",dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=3)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2223,9 +2127,7 @@ Test case: MAC_PPPOE_IPV6_PAY
packets mismatched the pattern::
sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
Subcase 1: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY
-----------------------------------------
@@ -2268,21 +2170,6 @@ Subcase 1: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the field [Source MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2334,21 +2221,6 @@ Subcase 2: MAC_PPPOE_IPV6_PAY_L2_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the field [Dest MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2402,23 +2274,6 @@ Subcase 3: MAC_PPPOE_IPV6_PAY_L2_SRC_ONLY_L2_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the field [Source MAC][Dest MAC], send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2470,21 +2325,6 @@ Subcase 4: MAC_PPPOE_IPV6_PAY_L3_SRC_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the field [Source IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2536,21 +2376,6 @@ Subcase 5: MAC_PPPOE_IPV6_PAY_L3_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the field [Dest IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -2604,23 +2429,6 @@ Subcase 6: MAC_PPPOE_IPV6_PAY_L3_SRC_ONLY_L3_DST_ONLY
check the hash values are the same as the first packet.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- change the fields [Source IP][Dest IP], send packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are different from the first packet.
- change other fields, send packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values are the same as the first packet.
-
4. send packets mismatched the pattern, check the hash values not exist.
5. destroy the rule::
@@ -4150,16 +3958,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric
check the hash value is not changed.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- swap the values of [Source IP] and [Dest IP], send the packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is not changed.
-
4. send packets mismatched the rule, and swap the [Source IP] and [Dest IP]
* MAC_PPPOE_IPV6_PAY packet::
@@ -4169,13 +3967,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric
check the hash values of the two packets are different.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values of the two packets are different.
-
* MAC_IPV4_PAY packet::
sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)],iface="ens786f0")
@@ -4183,13 +3974,6 @@ Test case: MAC_PPPOE_IPV4_PAY_symmetric
check the hash values of the two packets are different.
- * MAC_IPV4_FRAG packet::
-
- sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values of the two packets are different.
-
5. destroy the rule::
testpmd> flow destroy 0 rule 0
@@ -4404,16 +4188,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric
check the hash value is not changed.
- * MAC_PPPOE_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- swap the values of [Source IP] and [Dest IP], send the packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0057)/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash value is not changed.
-
4. send packets mismatched the rule, and swap the values of [Source IP] and [Dest IP]
* MAC_PPPOE_IPV4_PAY packet::
@@ -4423,13 +4197,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric
check the hash values of the two packets are different.
- * MAC_PPPOE_IPV4_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(proto=0x0021)/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)],iface="ens786f0")
-
- check the hash values of the two packets are different.
-
* MAC_IPV6_PAY packet::
sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)],iface="ens786f0")
@@ -4437,13 +4204,6 @@ Test case: MAC_PPPOE_IPV6_PAY_symmetric
check the hash values of the two packets are different.
- * MAC_IPV6_FRAG packet::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)],iface="ens786f0")
-
- check the hash values of the two packets are different.
-
5. destroy the rule::
testpmd> flow destroy 0 rule 0
--git a/tests/TestSuite_ice_advanced_rss_pppoe.py b/tests/TestSuite_ice_advanced_rss_pppoe.py
index 229cc311..968164a2 100644
--- a/tests/TestSuite_ice_advanced_rss_pppoe.py
+++ b/tests/TestSuite_ice_advanced_rss_pppoe.py
@@ -385,8 +385,6 @@ mac_pppoe_ipv4_pay_packets = {
"mismatch": [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)',
]
}
@@ -398,14 +396,6 @@ mac_pppoe_ipv4_pay = [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5")/Raw("x"*80)',
]
-mac_pppoe_ipv4_frag = [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=4)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.5", frag=3)/Raw("x"*80)',
-]
-
mac_pppoe_ipv4_pay_src_test = [
{
"send_packet": mac_pppoe_ipv4_pay[0],
@@ -419,18 +409,6 @@ mac_pppoe_ipv4_pay_src_test = [
"send_packet": mac_pppoe_ipv4_pay[2],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_frag[0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[1],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[2],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]],
"action": "check_no_hash",
@@ -450,18 +428,6 @@ mac_pppoe_ipv4_pay_dst_test = [
"send_packet": mac_pppoe_ipv4_pay[1],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_frag[0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[2],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[1],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]],
"action": "check_no_hash",
@@ -489,26 +455,6 @@ mac_pppoe_ipv4_pay_src_dst_test = [
"send_packet": mac_pppoe_ipv4_pay[-1],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_frag[0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[1],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[2],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[3],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_frag[-1],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]],
"action": "check_no_hash",
@@ -518,7 +464,7 @@ mac_pppoe_ipv4_pay_src_dst_test = [
mac_pppoe_ipv4_pay_post_test = (
[
{
- "send_packet": [item for item in mac_pppoe_ipv4_pay + mac_pppoe_ipv4_frag],
+ "send_packet": [item for item in mac_pppoe_ipv4_pay],
"action": "check_no_hash",
},
],
@@ -554,11 +500,6 @@ mac_pppoe_ipv4_pay_l3_src_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7")/Raw("x"*80)',
],
- "mac_pppoe_ipv4_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7", frag=3)/Raw("x"*80)',
- ],
}
mac_pppoe_ipv4_pay_l3_src_only = {
@@ -584,24 +525,6 @@ mac_pppoe_ipv4_pay_l3_src_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[
- "mac_pppoe_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[
- "mac_pppoe_ipv4_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets[
- "mac_pppoe_ipv4_frag"
- ][2],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": mac_pppoe_ipv4_pay_packets["mismatch"],
"action": "check_no_hash",
@@ -609,8 +532,7 @@ mac_pppoe_ipv4_pay_l3_src_only = {
],
"post-test": [
{
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_pay"]
- + mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_frag"],
+ "send_packet": mac_pppoe_ipv4_pay_l3_src_only_packets["mac_pppoe_ipv4_pay"],
"action": "check_no_hash",
},
],
@@ -622,11 +544,6 @@ mac_pppoe_ipv4_pay_l3_dst_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.3")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.7", dst="192.168.1.2")/Raw("x"*80)',
],
- "mac_pppoe_ipv4_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.3", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.7", dst="192.168.1.2", frag=3)/Raw("x"*80)',
- ],
}
mac_pppoe_ipv4_pay_l3_dst_only = {
@@ -652,24 +569,6 @@ mac_pppoe_ipv4_pay_l3_dst_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][2],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]],
"action": "check_no_hash",
@@ -680,7 +579,6 @@ mac_pppoe_ipv4_pay_l3_dst_only = {
"send_packet": [
i
for i in mac_pppoe_ipv4_pay_l3_dst_only_packets["mac_pppoe_ipv4_pay"]
- + mac_pppoe_ipv4_pay_l3_dst_only_packets["mac_pppoe_ipv4_frag"]
],
"action": "check_no_hash",
},
@@ -695,13 +593,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.7")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)',
],
- "mac_pppoe_ipv4_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.7", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.3", dst="192.168.1.7", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=3)/Raw("x"*80)',
- ],
}
mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = {
@@ -739,36 +630,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = {
][-1],
"action": {"check_hash_same", "mac_pppoe_ipv4_pay"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][2],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][3],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ][-1],
- "action": {"check_hash_same", "mac_pppoe_ipv4_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv4_pay_packets["mismatch"]],
"action": "check_no_hash",
@@ -781,9 +642,6 @@ mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only = {
for i in mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
"mac_pppoe_ipv4_pay"
]
- + mac_pppoe_ipv4_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv4_frag"
- ]
],
"action": "check_no_hash",
},
@@ -2295,9 +2153,7 @@ mac_pppoe_ipv4_tcp_pay_ipv4 = {
mac_pppoe_ipv6_pay_packets = {
"mismatch": [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
]
}
@@ -2307,11 +2163,6 @@ mac_pppoe_ipv6_pay_l2_src_only_packets = {
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l2_src_only = {
@@ -2337,37 +2188,11 @@ mac_pppoe_ipv6_pay_l2_src_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][2],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i for i in mac_pppoe_ipv6_pay_l2_src_only_packets["mac_pppoe_ipv6_frag"]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_pay_l2_dst_only_packets = {
@@ -2376,11 +2201,6 @@ mac_pppoe_ipv6_pay_l2_dst_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l2_dst_only = {
@@ -2406,37 +2226,11 @@ mac_pppoe_ipv6_pay_l2_dst_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][2],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i for i in mac_pppoe_ipv6_pay_l2_dst_only_packets["mac_pppoe_ipv6_frag"]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets = {
@@ -2447,13 +2241,6 @@ mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets = {
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only = {
@@ -2491,52 +2278,11 @@ mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only = {
][-1],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][2],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][3],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][-1],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i
- for i in mac_pppoe_ipv6_pay_l2_src_only_l2_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_pay_l3_src_only_packets = {
@@ -2545,11 +2291,6 @@ mac_pppoe_ipv6_pay_l3_src_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:54", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l3_src_only = {
@@ -2575,37 +2316,11 @@ mac_pppoe_ipv6_pay_l3_src_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1:-1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_packets[
- "mac_pppoe_ipv6_frag"
- ][-1],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i for i in mac_pppoe_ipv6_pay_l3_src_only_packets["mac_pppoe_ipv6_frag"]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_pay_l3_dst_only_packets = {
@@ -2614,11 +2329,6 @@ mac_pppoe_ipv6_pay_l3_dst_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l3_dst_only = {
@@ -2644,37 +2354,11 @@ mac_pppoe_ipv6_pay_l3_dst_only = {
],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1:-1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][-1],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i for i in mac_pppoe_ipv6_pay_l3_dst_only_packets["mac_pppoe_ipv6_frag"]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets = {
@@ -2685,13 +2369,6 @@ mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:53", dst="10:22:33:44:55:99")/PPPoE(sessionid=7)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
}
mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only = {
@@ -2729,52 +2406,11 @@ mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only = {
][-1],
"action": {"check_hash_same", "mac_pppoe_ipv6_pay"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][2],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][3],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ][-1],
- "action": {"check_hash_same", "mac_pppoe_ipv6_frag"},
- },
{
"send_packet": [i for i in mac_pppoe_ipv6_pay_packets["mismatch"]],
"action": "check_no_hash",
},
],
- "post-test": [
- {
- "send_packet": [
- i
- for i in mac_pppoe_ipv6_pay_l3_src_only_l3_dst_only_packets[
- "mac_pppoe_ipv6_frag"
- ]
- ],
- "action": "check_no_hash",
- },
- ],
}
mac_pppoe_ipv6_udp_pay_packets = {
@@ -4626,28 +4262,16 @@ mac_pppoe_ipv6_pay_symmetric_packets = {
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
},
"mismatch": {
"mac_pppoe_ipv4_pay": [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)',
],
- "mac_pppoe_ipv4_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)',
- ],
"mac_ipv6_pay": [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)',
],
- "mac_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
},
}
@@ -4668,18 +4292,6 @@ mac_pppoe_ipv6_pay_symmetric = {
][1:],
"action": {"check_hash_same": "mac_pppoe_ipv6_pay_match"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["match"][
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag_match"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["match"][
- "mac_pppoe_ipv6_frag"
- ][1:],
- "action": {"check_hash_same": "mac_pppoe_ipv6_frag_match"},
- },
{
"send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
"mac_pppoe_ipv4_pay"
@@ -4692,18 +4304,6 @@ mac_pppoe_ipv6_pay_symmetric = {
][1:],
"action": {"check_hash_different": "mac_pppoe_ipv4_pay_mismatch"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
- "mac_pppoe_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag_mismatch"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
- "mac_pppoe_ipv4_frag"
- ][1:],
- "action": {"check_hash_different": "mac_pppoe_ipv4_frag_mismatch"},
- },
{
"send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
"mac_ipv6_pay"
@@ -4716,18 +4316,6 @@ mac_pppoe_ipv6_pay_symmetric = {
][1:],
"action": {"check_hash_different": "mac_ipv6_pay_mismatch"},
},
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
- "mac_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_ipv6_frag_mismatch"},
- },
- {
- "send_packet": mac_pppoe_ipv6_pay_symmetric_packets["mismatch"][
- "mac_ipv6_frag"
- ][1:],
- "action": {"check_hash_different": "mac_ipv6_frag_mismatch"},
- },
],
"post-test": [
{
@@ -4745,28 +4333,16 @@ mac_pppoe_ipv4_pay_symmetric_packets = {
'Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55",dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1")/Raw("x"*80)',
],
- "mac_pppoe_ipv4_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.1", dst="192.168.1.2", frag=5)/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x21\')/IP(src="192.168.1.2", dst="192.168.1.1", frag=5)/Raw("x"*80)',
- ],
},
"mismatch": {
"mac_pppoe_ipv6_pay": [
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/Raw("x"*80)',
'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/Raw("x"*80)',
],
- "mac_pppoe_ipv6_frag": [
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/Raw("x"*80)',
- 'Ether(src="00:11:22:33:44:55", dst="10:22:33:44:55:66")/PPPoE(sessionid=3)/PPP(b\'\\x00\\x57\')/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:2022", dst="CDCD:910A:2222:5498:8475:1111:3900:1536")/IPv6ExtHdrFragment()/Raw("x"*80)',
- ],
"mac_ipv4_pay": [
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/Raw("x"*80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20")/Raw("x"*80)',
],
- "mac_ipv4_frag": [
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=5)/Raw("x"*80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.21",dst="192.168.0.20", frag=5)/Raw("x"*80)',
- ],
},
}
@@ -4787,18 +4363,6 @@ mac_pppoe_ipv4_pay_symmetric = {
][1],
"action": {"check_hash_same": "mac_pppoe_ipv4_pay_match"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["match"][
- "mac_pppoe_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv4_frag_match"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["match"][
- "mac_pppoe_ipv4_frag"
- ][1],
- "action": {"check_hash_same": "mac_pppoe_ipv4_frag_match"},
- },
{
"send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
"mac_pppoe_ipv6_pay"
@@ -4811,18 +4375,6 @@ mac_pppoe_ipv4_pay_symmetric = {
][1],
"action": {"check_hash_different": "mac_pppoe_ipv6_pay_mismatch"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
- "mac_pppoe_ipv6_frag"
- ][0],
- "action": {"save_hash": "mac_pppoe_ipv6_frag_mismatch"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
- "mac_pppoe_ipv6_frag"
- ][1],
- "action": {"check_hash_different": "mac_pppoe_ipv6_frag_mismatch"},
- },
{
"send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
"mac_ipv4_pay"
@@ -4835,18 +4387,6 @@ mac_pppoe_ipv4_pay_symmetric = {
][1],
"action": {"check_hash_different": "mac_ipv4_pay_mismatch"},
},
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
- "mac_ipv4_frag"
- ][0],
- "action": {"save_hash": "mac_ipv4_frag_mismatch"},
- },
- {
- "send_packet": mac_pppoe_ipv4_pay_symmetric_packets["mismatch"][
- "mac_ipv4_frag"
- ][1],
- "action": {"check_hash_different": "mac_ipv4_frag_mismatch"},
- },
],
"post-test": [
{
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 3/8] tests/ice_advanced_rss: remove ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
2022-05-20 5:45 ` [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: " Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 4/8] tests/ice_dcf_acl_filter: " Jiale Song
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
| 120 -----------
| 252 ----------------------
2 files changed, 372 deletions(-)
--git a/test_plans/ice_advanced_rss_test_plan.rst b/test_plans/ice_advanced_rss_test_plan.rst
index 84495696..15faea35 100644
--- a/test_plans/ice_advanced_rss_test_plan.rst
+++ b/test_plans/ice_advanced_rss_test_plan.rst
@@ -385,10 +385,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -416,10 +412,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -433,10 +425,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0")
@@ -456,10 +444,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -473,10 +457,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0")
@@ -498,12 +478,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -521,10 +495,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/ICMP()/("X"*480)],iface="ens786f0")
@@ -544,10 +514,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -561,10 +527,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -584,10 +546,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -605,10 +563,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -629,11 +583,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -649,10 +598,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1012,10 +957,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1043,10 +984,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1060,10 +997,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1083,10 +1016,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1100,10 +1029,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1125,12 +1050,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1148,10 +1067,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1171,10 +1086,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1188,10 +1099,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1211,10 +1118,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1228,10 +1131,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1252,11 +1151,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1272,10 +1166,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1660,11 +1550,6 @@ ipv4-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)],iface="ens786f0")
-ipv4-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)],iface="ens786f0")
-
ipv4-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)],iface="ens786f0")
@@ -1755,11 +1640,6 @@ ipv6-nonfrag packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)],iface="ens786f0")
-ipv6-frag packets::
-
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)],iface="ens786f0")
-
ipv6-icmp packets::
sendp([Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)],iface="ens786f0")
--git a/tests/TestSuite_ice_advanced_rss.py b/tests/TestSuite_ice_advanced_rss.py
index 5ddf20e0..8e637810 100644
--- a/tests/TestSuite_ice_advanced_rss.py
+++ b/tests/TestSuite_ice_advanced_rss.py
@@ -44,9 +44,6 @@ mac_ipv4_toeplitz_basic_pkt = {
"ipv4-nonfrag": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)',
],
- "ipv4-frag": [
- 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)',
- ],
"ipv4-icmp": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
],
@@ -107,9 +104,6 @@ mac_ipv6_toeplitz_basic_pkt = {
"ipv6-nonfrag": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
],
- "ipv6-frag": [
- 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- ],
"ipv6-icmp": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)',
],
@@ -174,9 +168,6 @@ mac_ipv4_l2src_changed = {
"ipv4-nonfrag": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)',
],
- "ipv4-frag": [
- 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)',
- ],
"ipv4-icmp": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
],
@@ -192,9 +183,6 @@ mac_ipv4_l2dst_changed = {
"ipv4-nonfrag": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)',
],
- "ipv4-frag": [
- 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2", frag=6)/("X"*480)',
- ],
"ipv4-icmp": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
],
@@ -210,9 +198,6 @@ mac_ipv4_l3src_changed = {
"ipv4-nonfrag": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/("X"*480)',
],
- "ipv4-frag": [
- 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2", frag=6)/("X"*480)',
- ],
"ipv4-icmp": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.1.2")/ICMP()/("X"*480)',
],
@@ -228,9 +213,6 @@ mac_ipv4_l3dst_changed = {
"ipv4-nonfrag": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/("X"*480)',
],
- "ipv4-frag": [
- 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2", frag=6)/("X"*480)',
- ],
"ipv4-icmp": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.1.1", src="192.168.0.2")/ICMP()/("X"*480)',
],
@@ -246,9 +228,6 @@ mac_ipv6_l2src_changed = {
"ipv6-nonfrag": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
],
- "ipv6-frag": [
- 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- ],
"ipv6-icmp": [
'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)',
],
@@ -261,9 +240,6 @@ mac_ipv6_l2dst_changed = {
"ipv6-nonfrag": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)',
],
- "ipv6-frag": [
- 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)',
- ],
"ipv6-icmp": [
'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/ICMP()/("X"*480)',
],
@@ -290,18 +266,6 @@ mac_ipv4_l2_src = {
"send_packet": mac_ipv4_l2dst_changed["ipv4-nonfrag"],
"action": "check_hash_same",
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2src_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"],
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -331,7 +295,6 @@ mac_ipv4_l2_src = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -357,18 +320,6 @@ mac_ipv4_l2_dst = {
"send_packet": mac_ipv4_l2src_changed["ipv4-nonfrag"],
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2src_changed["ipv4-frag"],
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -398,7 +349,6 @@ mac_ipv4_l2_dst = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -432,26 +382,6 @@ mac_ipv4_l2src_l2dst = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5")/("X"*480)',
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2dst_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l2src_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)',
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.3", src="192.168.0.5",frag=7)/("X"*480)',
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -497,7 +427,6 @@ mac_ipv4_l2src_l2dst = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -523,18 +452,6 @@ mac_ipv4_l3_src = {
"send_packet": mac_ipv4_l3dst_changed["ipv4-nonfrag"],
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3src_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"],
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -552,7 +469,6 @@ mac_ipv4_l3_src = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -578,18 +494,6 @@ mac_ipv4_l3_dst = {
"send_packet": mac_ipv4_l3src_changed["ipv4-nonfrag"],
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3src_changed["ipv4-frag"],
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -607,7 +511,6 @@ mac_ipv4_l3_dst = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -637,22 +540,6 @@ mac_ipv4_all = {
"send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/("X"*480)',
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-frag"],
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3dst_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": mac_ipv4_l3src_changed["ipv4-frag"],
- "action": {"check_hash_different": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)',
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"],
"action": {"save_hash": "ipv4-icmp"},
@@ -674,7 +561,6 @@ mac_ipv4_all = {
{
"send_packet": [
mac_ipv4_toeplitz_basic_pkt["ipv4-nonfrag"][0],
- mac_ipv4_toeplitz_basic_pkt["ipv4-frag"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-icmp"][0],
mac_ipv4_toeplitz_basic_pkt["ipv4-udp-vxlan"][0],
],
@@ -2258,18 +2144,6 @@ mac_ipv6_l2_src = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)',
"action": "check_hash_same",
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2303,7 +2177,6 @@ mac_ipv6_l2_src = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
],
@@ -2329,18 +2202,6 @@ mac_ipv6_l2_dst = {
"send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2027")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2374,7 +2235,6 @@ mac_ipv6_l2_dst = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
],
@@ -2408,26 +2268,6 @@ mac_ipv6_l2src_l2dst = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2923",dst="CDCD:910A:2222:5498:8475:1111:3900:2025")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2477,7 +2317,6 @@ mac_ipv6_l2src_l2dst = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
],
@@ -2503,18 +2342,6 @@ mac_ipv6_l3_src = {
"send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2548,7 +2375,6 @@ mac_ipv6_l3_src = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
mac_ipv6_toeplitz_basic_pkt["nvgre"][0],
@@ -2575,18 +2401,6 @@ mac_ipv6_l3_dst = {
"send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2620,7 +2434,6 @@ mac_ipv6_l3_dst = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
mac_ipv6_toeplitz_basic_pkt["nvgre"][0],
@@ -2651,22 +2464,6 @@ mac_ipv6_all = {
"send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-frag"],
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2021")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2928",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:53", dst="68:05:CA:BB:27:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"],
"action": {"save_hash": "ipv6-icmp"},
@@ -2708,7 +2505,6 @@ mac_ipv6_all = {
{
"send_packet": [
mac_ipv6_toeplitz_basic_pkt["ipv6-nonfrag"][0],
- mac_ipv6_toeplitz_basic_pkt["ipv6-frag"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-icmp"][0],
mac_ipv6_toeplitz_basic_pkt["ipv6-udp"][0],
mac_ipv6_toeplitz_basic_pkt["nvgre"][0],
@@ -4253,14 +4049,6 @@ mac_ipv4_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)',
"action": {"check_hash_different": "ipv4-nonfrag-pre"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)',
- "action": {"save_hash": "ipv4-frag-pre"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)',
- "action": {"check_hash_different": "ipv4-frag-pre"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
"action": {"save_hash": "ipv4-icmp-pre"},
@@ -4287,14 +4075,6 @@ mac_ipv4_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)',
"action": {"check_hash_same": "ipv4-nonfrag"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)',
- "action": {"save_hash": "ipv4-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)',
- "action": {"check_hash_same": "ipv4-frag"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
"action": {"save_hash": "ipv4-icmp"},
@@ -4329,14 +4109,6 @@ mac_ipv4_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1")/("X"*480)',
"action": {"check_no_hash_or_different": "ipv4-nonfrag-post"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2",frag=6)/("X"*480)',
- "action": {"save_or_no_hash": "ipv4-frag-post"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.2", src="192.168.0.1",frag=6)/("X"*480)',
- "action": {"check_no_hash_or_different": "ipv4-frag-post"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IP(dst="192.168.0.1", src="192.168.0.2")/ICMP()/("X"*480)',
"action": {"save_or_no_hash": "ipv4-icmp-post"},
@@ -4561,14 +4333,6 @@ mac_ipv6_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
"action": {"check_hash_different": "ipv6-nonfrag-pre"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"save_hash": "ipv6-frag-pre"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_different": "ipv6-frag-pre"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)',
"action": {"save_hash": "ipv6-icmp-pre"},
@@ -4595,14 +4359,6 @@ mac_ipv6_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
"action": {"check_hash_same": "ipv6-nonfrag"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"save_hash": "ipv6-frag"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_hash_same": "ipv6-frag"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)',
"action": {"save_hash": "ipv6-icmp"},
@@ -4637,14 +4393,6 @@ mac_ipv6_symmetric = {
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)',
"action": {"check_no_hash_or_different": "ipv6-nonfrag-post"},
},
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"save_or_no_hash": "ipv6-frag-post"},
- },
- {
- "send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(dst="ABAB:910B:6666:3457:8295:3333:1800:2929",src="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- "action": {"check_no_hash_or_different": "ipv6-frag-post"},
- },
{
"send_packet": 'Ether(src="00:11:22:33:44:55", dst="68:05:CA:BB:26:E0")/IPv6(src="ABAB:910B:6666:3457:8295:3333:1800:2929",dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/ICMP()/("X"*480)',
"action": {"save_or_no_hash": "ipv6-icmp-post"},
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 4/8] tests/ice_dcf_acl_filter: remove ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
2022-05-20 5:45 ` [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 3/8] tests/ice_advanced_rss: " Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function Jiale Song
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/ice_dcf_acl_filter_test_plan.rst | 10 ----------
tests/TestSuite_ice_dcf_acl_filter.py | 19 -------------------
2 files changed, 29 deletions(-)
diff --git a/test_plans/ice_dcf_acl_filter_test_plan.rst b/test_plans/ice_dcf_acl_filter_test_plan.rst
index 1f92d659..00451ec5 100644
--- a/test_plans/ice_dcf_acl_filter_test_plan.rst
+++ b/test_plans/ice_dcf_acl_filter_test_plan.rst
@@ -141,7 +141,6 @@ Subcase 1: src mac(only 2ports NIC support)
2. matched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="01:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="02:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="ff:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -150,7 +149,6 @@ Subcase 1: src mac(only 2ports NIC support)
3. unmatched packets::
sendp([Ether(src="00:11:22:33:66:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:66", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:66:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:66", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:32:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -193,7 +191,6 @@ Subcase 3: src ipv4
2. matched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.158", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -202,7 +199,6 @@ Subcase 3: src ipv4
3. unmatched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -217,7 +213,6 @@ Subcase 4: dst ipv4
2. matched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.0")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.0",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.158")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.255")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.255")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -226,7 +221,6 @@ Subcase 4: dst ipv4
3. unmatched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -241,7 +235,6 @@ Subcase 5: src ipv4 + dst ipv4
2. matched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp216s0f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp216s0f0")
@@ -250,7 +243,6 @@ Subcase 5: src ipv4 + dst ipv4
3. unmatched packets::
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp216s0f0")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.3")/TCP()/Raw(load='X'*30)], iface="enp216s0f0")
sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load='X'*30)], iface="enp216s0f0")
@@ -269,7 +261,6 @@ Subcase 6: src mac + dst mac + src ipv4 + dst ipv4(only 2port NIC support)
2. matched packets::
sendp([Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:00", dst="33:00:00:00:00:03")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
@@ -278,7 +269,6 @@ Subcase 6: src mac + dst mac + src ipv4 + dst ipv4(only 2port NIC support)
3. unmatched packets::
sendp([Ether(src="00:11:22:33:66:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load='X'*30)], iface="enp134s0f1")
- sendp([Ether(src="00:11:22:33:44:55", dst="00:01:23:45:67:89")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:01")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load='X'*30)], iface="enp134s0f1")
sendp([Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load='X'*30)], iface="enp134s0f1")
diff --git a/tests/TestSuite_ice_dcf_acl_filter.py b/tests/TestSuite_ice_dcf_acl_filter.py
index 49fd23a0..3a1f86e4 100644
--- a/tests/TestSuite_ice_dcf_acl_filter.py
+++ b/tests/TestSuite_ice_dcf_acl_filter.py
@@ -49,8 +49,6 @@ MAC_IPV4_PAY_SRC_MAC = {
"match": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="01:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="02:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)'
@@ -63,8 +61,6 @@ MAC_IPV4_PAY_SRC_MAC = {
"unmatch": [
'Ether(src="00:11:22:33:66:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:66", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2", frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:66:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:66", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)'
@@ -92,8 +88,6 @@ MAC_IPV4_PAY_SRC_IP = {
"match": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.0", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.158", dst="192.168.0.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2")/TCP()/Raw(load="x"*30)'
@@ -106,8 +100,6 @@ MAC_IPV4_PAY_SRC_IP = {
"unmatch": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)'
@@ -123,8 +115,6 @@ MAC_IPV4_PAY_DST_IP = {
"match": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.0")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.0",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.158")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.255")/TCP()/Raw(load="x"*30)'
@@ -137,8 +127,6 @@ MAC_IPV4_PAY_DST_IP = {
"unmatch": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.1.2")/TCP()/Raw(load="x"*30)'
@@ -154,8 +142,6 @@ MAC_IPV4_PAY_SRC_DST_IP = {
"match": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load="x"*30)'
@@ -168,8 +154,6 @@ MAC_IPV4_PAY_SRC_DST_IP = {
"unmatch": [
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/Raw(load="x"*30)'
% vf1_mac,
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.1.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)'
% vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.3")/TCP()/Raw(load="x"*30)'
@@ -184,7 +168,6 @@ MAC_IPV4_PAY_SRC_DST_IP = {
MAC_IPV4_PAY_SRC_DST_MAC_SRC_DST_IP = {
"match": [
'Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2")/Raw(load="x"*30)',
- 'Ether(src="00:11:22:33:44:1b", dst="33:00:00:00:00:02")/IP(src="192.168.0.255", dst="192.168.0.2",frag=1)/Raw(load="x"*30)',
'Ether(src="00:11:22:33:44:00", dst="33:00:00:00:00:03")/IP(src="192.168.0.158", dst="192.168.255.2")/UDP()/Raw(load="x"*30)',
'Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/TCP()/Raw(load="x"*30)',
'Ether(src="00:11:22:33:44:ff", dst="33:00:00:00:00:02")/IP(src="192.168.0.0", dst="192.168.1.2")/SCTP()/Raw(load="x"*30)',
@@ -192,8 +175,6 @@ MAC_IPV4_PAY_SRC_DST_MAC_SRC_DST_IP = {
],
"unmatch": [
'Ether(src="00:11:22:33:66:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.2")/Raw(load="x"*30)',
- 'Ether(src="00:11:22:33:44:55", dst="%s")/IP(src="192.168.0.1", dst="192.168.0.2",frag=1)/Raw(load="x"*30)'
- % vf1_mac,
'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:01")/IP(src="192.168.0.1", dst="192.168.0.2")/UDP()/Raw(load="x"*30)',
'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.1.1", dst="192.168.0.2")/TCP()/Raw(load="x"*30)',
'Ether(src="00:11:22:33:44:55", dst="33:00:00:00:00:02")/IP(src="192.168.0.1", dst="192.168.0.3")/SCTP()/Raw(load="x"*30)',
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
` (2 preceding siblings ...)
2022-05-20 5:46 ` [dts] [PATCH V1 4/8] tests/ice_dcf_acl_filter: " Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets Jiale Song
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/ice_switch_filter_test_plan.rst | 20 +++++++++++++++++
tests/TestSuite_ice_switch_filter.py | 26 ++++++++++++++++------
2 files changed, 39 insertions(+), 7 deletions(-)
diff --git a/test_plans/ice_switch_filter_test_plan.rst b/test_plans/ice_switch_filter_test_plan.rst
index b6d0d596..6db690fb 100644
--- a/test_plans/ice_switch_filter_test_plan.rst
+++ b/test_plans/ice_switch_filter_test_plan.rst
@@ -2766,6 +2766,10 @@ to queue action
check the rule not exists in the list.
+ create rss rule to switch on ipfrag rss function::
+
+ flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end
+
2. create a rule::
testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end
@@ -2808,6 +2812,10 @@ to queue group action
check the rule not exists in the list.
+ create rss rule to switch on ipfrag rss function::
+
+ flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end
+
2. create a rule::
testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end
@@ -3528,6 +3536,10 @@ to queue group action
check the rule not exists in the list.
+ create rss rule to switch on ipfrag rss function::
+
+ flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end
+
2. create a rule::
testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end
@@ -3627,6 +3639,10 @@ to queue action
check the rule not exists in the list.
+ create rss rule to switch on ipfrag rss function::
+
+ flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end
+
2. create a rule::
testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end
@@ -3669,6 +3685,10 @@ to queue group action
check the rule not exists in the list.
+ create rss rule to switch on ipfrag rss function::
+
+ flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end
+
2. create a rule::
testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end
diff --git a/tests/TestSuite_ice_switch_filter.py b/tests/TestSuite_ice_switch_filter.py
index 2622a5cd..c402fffc 100644
--- a/tests/TestSuite_ice_switch_filter.py
+++ b/tests/TestSuite_ice_switch_filter.py
@@ -3087,7 +3087,9 @@ mac_ipv4_frag_pipeline_mode_scapy_str = {
tv_mac_ipv4_frag_pipeline_mode_in_queue_01 = {
"name": "tv_mac_ipv4_frag_pipeline_mode_in_queue_01",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions queue index 3 / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv4_frag_pipeline_mode_scapy_str["matched"],
@@ -3109,7 +3111,9 @@ tv_mac_ipv4_frag_pipeline_mode_in_queue_01 = {
tv_mac_ipv4_frag_pipeline_mode_queue_region_02 = {
"name": "tv_mac_ipv4_frag_pipeline_mode_queue_region_02",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 tos is 4 / end actions rss queues 2 3 end / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv4_frag_pipeline_mode_scapy_str["matched"],
@@ -3525,7 +3529,9 @@ mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str = {
tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01 = {
"name": "tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 5 / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 5 / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str["matched"],
@@ -3547,7 +3553,9 @@ tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_in_queue_01 = {
tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_queue_region_02 = {
"name": "tv_mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_queue_region_02",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1515 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions rss queues 2 3 end / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv6_src_ipv6_dst_ipv6_pipeline_mode_scapy_str["matched"],
@@ -3611,7 +3619,9 @@ mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str = {
tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01 = {
"name": "tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions queue index 3 / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str["matched"],
@@ -3633,7 +3643,9 @@ tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_in_queue_01 = {
tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_queue_region_02 = {
"name": "tv_mac_ipv6_dst_ipv6_tc_pipeline_mode_queue_region_02",
- "rte_flow_pattern": "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end",
+ "rte_flow_pattern": [
+ "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext / end actions rss types ipv6-frag end key_len 0 queues end / end",
+ "flow create 0 priority 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 tc is 3 / end actions rss queues 2 3 end / end",],
"configuration": {"is_non_pipeline": False, "is_need_rss_rule": False},
"matched": {
"scapy_str": mac_ipv6_dst_ipv6_tc_pipeline_mode_scapy_str["matched"],
@@ -4445,7 +4457,7 @@ class ICESwitchFilterTest(TestCase):
if isinstance(rte_flow_pattern, list):
for rule in rte_flow_pattern:
out = self.dut.send_expect(rule, "testpmd> ") # create a rule
- if s not in out:
+ if s not in out and 'frag' not in rule:
rule_list.append(False)
else:
m = p.search(out)
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
` (3 preceding siblings ...)
2022-05-20 5:46 ` [dts] [PATCH V1 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
2022-05-25 10:12 ` Tu, Lijuan
2022-05-20 5:46 ` [dts] [PATCH V1 7/8] tests/ice_iavf_fdir: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 8/8] tests/vf_rss: remove " Jiale Song
6 siblings, 1 reply; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/ice_fdir_test_plan.rst | 23 +++++++++++------------
tests/TestSuite_ice_fdir.py | 27 +++++++++++++--------------
2 files changed, 24 insertions(+), 26 deletions(-)
diff --git a/test_plans/ice_fdir_test_plan.rst b/test_plans/ice_fdir_test_plan.rst
index 906b3527..0bf5352c 100644
--- a/test_plans/ice_fdir_test_plan.rst
+++ b/test_plans/ice_fdir_test_plan.rst
@@ -210,7 +210,6 @@ Send packets
matched packets::
sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface="enp175s0f0")
- sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw('x' * 80)],iface="enp175s0f0")
unmatched packets::
@@ -819,11 +818,11 @@ Subcase 7: MAC_IPV4_PAY protocal
2. send matched packets::
pkt1 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1) / Raw('x' * 80)
- pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1) / Raw('x' * 80)
+ pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw('x' * 80)
pkt3 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4) /UDP(sport=22,dport=23)/Raw('x' * 80)
- pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4) /UDP(sport=22,dport=23)/Raw('x' * 80)
+ pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22, dport=23)/Raw('x' * 80)
pkt5 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw('x' * 80)
- pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw('x' * 80)
+ pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/UDP(sport=22,dport=23)/TCP(sport=22, dport=23)/Raw('x' * 80)
check the pkt1 and pkt2 are redirected to queue 1 with FDIR matched ID=0x1.
check the pkt3-pkt6 are distributed by RSS with FDIR matched ID=0x3.
@@ -832,7 +831,7 @@ Subcase 7: MAC_IPV4_PAY protocal
pkt7 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1) / Raw('x' * 80)
pkt8 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6) / Raw('x' * 80)
pkt9 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/ Raw('x' * 80)
- pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/ Raw('x' * 80)
+ pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/UDP(sport=22,dport=23)/Raw('x' * 80)
check the packets received are distributed by RSS without FDIR matched ID.
@@ -1055,15 +1054,15 @@ Subcase 7: MAC_IPV6_PAY protocal
1. create filter rules::
- flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 1 / end
+ flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 1 / end
flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end
2. send matched packets::
- pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44, tc=1, hlim=2)/("X"*480)
- pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b'1000')/("X"*480)
- pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44)/TCP(sport=22,dport=23)/("X"*480)
- pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b'1000')/TCP(sport=22,dport=23)/("X"*480)
+ pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17, tc=1, hlim=2)/("X"*480)
+ pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)
+ pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17)/TCP(sport=22,dport=23)/("X"*480)
+ pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", tc=1, hlim=2)/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)
pkt5 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)
pkt6 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)
@@ -1071,8 +1070,8 @@ Subcase 7: MAC_IPV6_PAY protocal
check pkt5 and pkt6 are distributed by RSS with FDIR matched ID=0x2.
send unmatched packets::
- pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
- pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)
+ pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=17)/("X"*480)
+ pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/("X"*480)
check the packets are distributed by RSS have not FDIR matched ID.
diff --git a/tests/TestSuite_ice_fdir.py b/tests/TestSuite_ice_fdir.py
index 7b642f70..ca1abd21 100644
--- a/tests/TestSuite_ice_fdir.py
+++ b/tests/TestSuite_ice_fdir.py
@@ -45,7 +45,6 @@ from framework.utils import GREEN, RED
MAC_IPV4_PAY = {
"match": [
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw("x" * 80)',
],
"unmatched": [
'Ether(dst="00:11:22:33:44:56")/IP(src="192.168.0.20",dst="192.168.0.22", proto=255, ttl=2, tos=4) / Raw("x" * 80)',
@@ -3149,11 +3148,11 @@ class TestICEFdir(TestCase):
]
rule_li = self.create_fdir_rule(rules, check_stats=True)
pkt1 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=1) / Raw("x" * 80)'
- pkt2 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, proto=1) / Raw("x" * 80)'
+ pkt2 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.19", dst="192.168.0.21", proto=1)/Raw("x" * 80)'
pkt3 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", ttl=2, tos=4) / UDP(sport=22, dport=23) / Raw("x" * 80)'
- pkt4 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, ttl=2, tos=4) / UDP(sport=22, dport=23) / Raw("x" * 80)'
+ pkt4 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=17)/TCP(sport=22, dport=23)/Raw("x" * 80)'
pkt5 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", proto=17, ttl=2, tos=4) / Raw("x" * 80)'
- pkt6 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.20", dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4) / Raw("x" * 80)'
+ pkt6 = 'Ether(dst="00:11:22:33:44:55") / IP(src="192.168.0.19", dst="192.168.0.21", proto=17, ttl=2, tos=4)/UDP(sport=22,dport=23)/TCP(sport=22, dport=23)/Raw("x" * 80)'
out = self.send_pkts_getouput([pkt1, pkt2])
port_id = 0
@@ -3190,7 +3189,7 @@ class TestICEFdir(TestCase):
pkt7 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1) / Raw("x" * 80)'
pkt8 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6) / Raw("x" * 80)'
pkt9 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/ Raw("x" * 80)'
- pkt10 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/ Raw("x" * 80)'
+ pkt10 = 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/UDP(sport=22,dport=23)/Raw("x" * 80)'
out3 = self.send_pkts_getouput([pkt7, pkt8, pkt9, pkt10])
fdir_scanner = re.compile("FDIR matched ID=(0x\w+)")
@@ -3220,14 +3219,14 @@ class TestICEFdir(TestCase):
def test_mac_ipv6_pay_protocal(self):
rules = [
- "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 1 / end",
+ "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 1 / end",
"flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end",
]
rule_li = self.create_fdir_rule(rules, check_stats=True)
- pkt1 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44, tc=1, hlim=2)/("X"*480)'
- pkt2 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b"1000")/("X"*480)'
- pkt3 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=44)/TCP(sport=22,dport=23)/("X"*480)'
- pkt4 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010")/IPv6ExtHdrFragment(b"1000")/TCP(sport=22,dport=23)/("X"*480)'
+ pkt1 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17, tc=1, hlim=2)/("X"*480)'
+ pkt2 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)'
+ pkt3 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="ABAB:910A:2222:5498:8475:1111:3900:1010", nh=17)/TCP(sport=22,dport=23)/("X"*480)'
+ pkt4 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", tc=1, hlim=2)/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)'
pkt5 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)'
pkt6 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)'
@@ -3263,8 +3262,8 @@ class TestICEFdir(TestCase):
"wrong received mark id %s, expect 0x2" % pkt_mark_id,
)
- pkt8 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)'
- pkt9 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/("X"*480)'
+ pkt8 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=17)/("X"*480)'
+ pkt9 = 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/("X"*480)'
out3 = self.send_pkts_getouput([pkt8, pkt9])
fdir_scanner = re.compile("FDIR matched ID=(0x\w+)")
@@ -3537,8 +3536,8 @@ class TestICEFdir(TestCase):
check_param={"port_id": 1, "rss": True},
stats=False,
)
- self.query_count(1, 2, 0, 0)
- self.query_count(1, 2, 1, 0)
+ self.query_count(1, 1, 0, 0)
+ self.query_count(1, 1, 1, 0)
self.check_fdir_rule(port_id=0, stats=True, rule_list=["0"])
self.check_fdir_rule(port_id=1, stats=True, rule_list=["0"])
self.destroy_fdir_rule(0, ["0"])
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 7/8] tests/ice_iavf_fdir: remove or replace ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
` (4 preceding siblings ...)
2022-05-20 5:46 ` [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 8/8] tests/vf_rss: remove " Jiale Song
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
test_plans/ice_iavf_fdir_test_plan.rst | 25 +++++++++++------------
tests/TestSuite_ice_iavf_fdir.py | 28 ++++++++++++++------------
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/test_plans/ice_iavf_fdir_test_plan.rst b/test_plans/ice_iavf_fdir_test_plan.rst
index f5940e1c..5b349738 100644
--- a/test_plans/ice_iavf_fdir_test_plan.rst
+++ b/test_plans/ice_iavf_fdir_test_plan.rst
@@ -316,7 +316,6 @@ Send packets
matched packets::
sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw('x' * 80)],iface="enp134s0f1")
- sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw('x' * 80)],iface="enp134s0f1")
sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)],iface="enp134s0f1")
mismatched packets::
@@ -1359,11 +1358,11 @@ Subcase 7: MAC_IPV4_PAY protocal
2. send matched packets::
pkt1 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1)/Raw('x' * 80)
- pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1)/Raw('x' * 80)
+ pkt2 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw('x' * 80)
pkt3 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)
- pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw('x' * 80)
+ pkt4 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22,dport=23)/Raw('x' * 80)
pkt5 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw('x' * 80)
- pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw('x' * 80)
+ pkt6 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/Raw('x' * 80)
check the pkt1 and pkt2 are redirected to queue 1 with FDIR matched ID=0x1.
check the pkt3-pkt6 are distributed by RSS with FDIR matched ID=0x3.
@@ -1372,7 +1371,7 @@ Subcase 7: MAC_IPV4_PAY protocal
pkt7 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1)/Raw('x' * 80)
pkt8 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6)/UDP(sport=22,dport=23)/Raw('x' * 80)
pkt9 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/Raw('x' * 80)
- pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/Raw('x' * 80)
+ pkt10 = Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/SCTP()/Raw('x' * 80)
check the packets received have not FDIR matched ID.
@@ -1594,15 +1593,15 @@ Subcase 7: MAC_IPV6_PAY protocal
1. create filter rules::
- flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 0 / end
+ flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 0 / end
flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end
2. send matched packets::
- pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=44, tc=1, hlim=2)/("X"*480)
- pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment(100)/("X"*480)
- pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=44)/TCP(sport=22,dport=23)/("X"*480)
- pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment(100)/TCP(sport=22,dport=23)/("X"*480)
+ pkt1 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=17, tc=1, hlim=2)/("X"*480)
+ pkt2 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
+ pkt3 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)
+ pkt4 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)
pkt5 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)
pkt6 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)
@@ -1610,9 +1609,9 @@ Subcase 7: MAC_IPV6_PAY protocal
check pkt5 and pkt6 are distributed by RSS with FDIR matched ID=0x2.
send mismatched packets::
- pkt7 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=44)/("X"*480)
- pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)
- pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)
+ pkt7 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=1)/("X"*480)
+ pkt8 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP()/("X"*480)
+ pkt9 = Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/TCP(sport=22,dport=23)/("X"*480)
check the packets are received without FDIR matched ID.
diff --git a/tests/TestSuite_ice_iavf_fdir.py b/tests/TestSuite_ice_iavf_fdir.py
index 376275b7..f5a1d665 100644
--- a/tests/TestSuite_ice_iavf_fdir.py
+++ b/tests/TestSuite_ice_iavf_fdir.py
@@ -46,7 +46,6 @@ from .rte_flow_common import TXQ_RXQ_NUMBER
MAC_IPV4_PAY = {
"match": [
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4) / Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=255, ttl=2, tos=4)/Raw("x" * 80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=255, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)',
],
"mismatch": [
@@ -61,17 +60,17 @@ MAC_IPV4_PAY = {
MAC_IPV4_PAY_protocol = {
"match": [
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=1)/Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=1)/Raw("x" * 80)',
+ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.19",dst="192.168.0.21", proto=1)/Raw("x" * 80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, ttl=2, tos=4)/UDP(sport=22,dport=23)/Raw("x" * 80)',
+ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/TCP(sport=22,dport=23)/Raw("x" * 80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17, ttl=2, tos=4)/Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1, proto=17, ttl=2, tos=4)/Raw("x" * 80)',
+ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=17)/Raw("x" * 80)',
],
"mismatch": [
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.22", proto=1)/Raw("x" * 80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", proto=6)/UDP(sport=22,dport=23)/Raw("x" * 80)',
'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/Raw("x" * 80)',
- 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", frag=1)/TCP(sport=22,dport=23)/Raw("x" * 80)',
+ 'Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21", ttl=2, tos=4)/SCTP()/Raw("x" * 80)',
],
}
@@ -136,17 +135,17 @@ MAC_IPV6_PAY = {
MAC_IPV6_PAY_protocol = {
"match": [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=44, tc=1, hlim=2)/("X"*480)',
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/("X"*480)',
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=44)/TCP(sport=22,dport=23)/("X"*480)',
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/IPv6ExtHdrFragment()/TCP(sport=22,dport=23)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", src="2001::2", nh=17, tc=1, hlim=2)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/TCP(sport=22,dport=23)/("X"*480)',
'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=6)/("X"*480)',
'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP(sport=22,dport=23)/("X"*480)',
],
"mismatch": [
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=44)/("X"*480)',
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=22,dport=23)/("X"*480)',
- 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=17)/TCP(sport=22,dport=23)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2021", nh=1)/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/SCTP()/("X"*480)',
+ 'Ether(dst="00:11:22:33:44:55")/IPv6(dst="CDCD:910A:2222:5498:8475:1111:3900:2020", nh=1)/TCP(sport=22,dport=23)/("X"*480)',
],
}
@@ -8815,7 +8814,7 @@ class TestICEIAVFFdir(TestCase):
def test_mac_ipv6_protocol(self):
rules = [
- "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 44 / end actions rss queues 5 6 end / mark id 0 / end",
+ "flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 17 / end actions rss queues 5 6 end / mark id 0 / end",
"flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 proto is 6 / end actions mark id 2 / rss / end",
]
@@ -9397,6 +9396,7 @@ class TestICEIAVFFdir(TestCase):
"""
create same rules on pf and vf, no conflict
"""
+ self.pmd_output.quit()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()
@@ -9637,6 +9637,7 @@ class TestICEIAVFFdir(TestCase):
"""
create same input set but different action rules on pf and vf, no conflict.
"""
+ self.pmd_output.quit()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()
@@ -9900,6 +9901,7 @@ class TestICEIAVFFdir(TestCase):
"""
create different rules on pf and vf
"""
+ self.pmd_output.quit()
self.session_secondary = self.dut.new_session()
self.session_third = self.dut.new_session()
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dts] [PATCH V1 8/8] tests/vf_rss: remove ip fragment packets
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
` (5 preceding siblings ...)
2022-05-20 5:46 ` [dts] [PATCH V1 7/8] tests/ice_iavf_fdir: " Jiale Song
@ 2022-05-20 5:46 ` Jiale Song
6 siblings, 0 replies; 9+ messages in thread
From: Jiale Song @ 2022-05-20 5:46 UTC (permalink / raw)
To: dts; +Cc: Jiale Song
modify the script to adapt to the change of dpdk function
According to dpdk commit f8d541da518 ("net/iavf: remove support for IP fragment default RSS").
According to dpdk commit cc46bab5968 ("net/ice: remove support for IP fragment default RSS").
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
| 2 --
1 file changed, 2 deletions(-)
--git a/tests/TestSuite_vf_rss.py b/tests/TestSuite_vf_rss.py
index 65995df1..a5314b13 100644
--- a/tests/TestSuite_vf_rss.py
+++ b/tests/TestSuite_vf_rss.py
@@ -392,12 +392,10 @@ class TestVfRss(TestCase):
self.vm0_ports_socket = self.vm_dut_0.get_numa_id(vm0dutPorts[0])
iptypes = {
"ipv4-other": "ip",
- "ipv4-frag": "ip",
"ipv4-udp": "udp",
"ipv4-tcp": "tcp",
"ipv4-sctp": "sctp",
"ipv6-other": "ip",
- "ipv6-frag": "ip",
"ipv6-udp": "udp",
"ipv6-tcp": "tcp",
"ipv6-sctp": "sctp",
--
2.17.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets
2022-05-20 5:46 ` [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets Jiale Song
@ 2022-05-25 10:12 ` Tu, Lijuan
0 siblings, 0 replies; 9+ messages in thread
From: Tu, Lijuan @ 2022-05-25 10:12 UTC (permalink / raw)
To: Jiale, SongX, dts; +Cc: Jiale, SongX
> Subject: [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets
>
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
Sorry, I can't get why these changes make dts better?
In other words, please add the reason of changes in the commit.
Some comments for other patches, thanks
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-05-25 10:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-20 5:45 [dts] [PATCH V1 1/8] tests/ice_advanced_iavf_rss: remove ip fragment packets Jiale Song
2022-05-20 5:45 ` [dts] [PATCH V1 2/8] tests/ice_advanced_rss_pppoe: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 3/8] tests/ice_advanced_rss: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 4/8] tests/ice_dcf_acl_filter: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 6/8] tests/ice_fdir: remove or replace ip fragment packets Jiale Song
2022-05-25 10:12 ` Tu, Lijuan
2022-05-20 5:46 ` [dts] [PATCH V1 7/8] tests/ice_iavf_fdir: " Jiale Song
2022-05-20 5:46 ` [dts] [PATCH V1 8/8] tests/vf_rss: remove " Jiale Song
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).