From: Jiale Song <songx.jiale@intel.com>
To: dts@dpdk.org
Cc: Jiale Song <songx.jiale@intel.com>
Subject: [dts] [PATCH V2 2/8] tests/ice_advanced_rss_pppoe: remove ip fragment packets
Date: Wed, 25 May 2022 19:19:28 +0800 [thread overview]
Message-ID: <20220525111934.106784-2-songx.jiale@intel.com> (raw)
In-Reply-To: <20220525111934.106784-1-songx.jiale@intel.com>
modify the script to adapt to the change of dpdk function.
remove ip fragment packets, dpdk no longer supports 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>
---
| 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
next prev parent reply other threads:[~2022-05-25 11:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-25 11:19 [dts] [PATCH V2 1/8] tests/ice_advanced_iavf_rss: " Jiale Song
2022-05-25 11:19 ` Jiale Song [this message]
2022-05-25 11:19 ` [dts] [PATCH V2 3/8] tests/ice_advanced_rss: " Jiale Song
2022-05-25 11:19 ` [dts] [PATCH V2 4/8] tests/ice_dcf_acl_filter: " Jiale Song
2022-05-25 11:19 ` [dts] [PATCH V2 5/8] tests/ice_switch_filter: create rss rule to switch on ip fragment rss function Jiale Song
2022-05-25 11:19 ` [dts] [PATCH V2 6/8] tests/ice_fdir: remove or replace ip fragment packets Jiale Song
2022-05-25 11:19 ` [dts] [PATCH V2 7/8] tests/ice_iavf_fdir: " Jiale Song
2022-05-25 11:19 ` [dts] [PATCH V2 8/8] tests/vf_rss: remove " Jiale Song
2022-05-28 9:23 ` lijuan.tu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220525111934.106784-2-songx.jiale@intel.com \
--to=songx.jiale@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).