From: Zhimin Huang <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts][PATCH V1 2/5] tests/ice_ip_fragment_rte_flow:extend mismatch pkts
Date: Tue, 24 May 2022 10:12:29 +0800 [thread overview]
Message-ID: <20220524021232.32762-2-zhiminx.huang@intel.com> (raw)
In-Reply-To: <20220524021232.32762-1-zhiminx.huang@intel.com>
mismatch pkt should cover mismatch inputset pkts and mismatch pattern pkts.
extend mismatch pkts to cover more test.
Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
tests/TestSuite_ice_ip_fragment_rte_flow.py | 36 ++++++++++++++-------
1 file changed, 24 insertions(+), 12 deletions(-)
diff --git a/tests/TestSuite_ice_ip_fragment_rte_flow.py b/tests/TestSuite_ice_ip_fragment_rte_flow.py
index 3acf3250..da3e51bd 100644
--- a/tests/TestSuite_ice_ip_fragment_rte_flow.py
+++ b/tests/TestSuite_ice_ip_fragment_rte_flow.py
@@ -48,7 +48,8 @@ tv_mac_ipv4_frag_fdir_queue_index = {
"rule": "flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions queue index 1 / mark / end",
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": 1, "mark_id": 0},
}
@@ -60,7 +61,8 @@ tv_mac_ipv4_frag_fdir_rss_queues = {
],
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": [2, 3], "mark_id": 0},
}
@@ -70,7 +72,8 @@ tv_mac_ipv4_frag_fdir_passthru = {
"rule": "flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions passthru / mark / end",
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -80,7 +83,8 @@ tv_mac_ipv4_frag_fdir_drop = {
"rule": "flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions drop / mark / end",
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "drop": True},
}
@@ -90,7 +94,8 @@ tv_mac_ipv4_frag_fdir_mark_rss = {
"rule": "flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions mark / rss / end",
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -100,7 +105,8 @@ tv_mac_ipv4_frag_fdir_mark = {
"rule": "flow create 0 ingress pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 / end actions mark id 1 / end",
"scapy_str": {
"matched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IP()/Raw('X'*666)",
+ "Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 1},
}
@@ -158,7 +164,8 @@ tv_mac_ipv6_frag_fdir_queue_index = {
"rule": "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions queue index 1 / mark / end",
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": 1, "mark_id": 0},
}
@@ -170,7 +177,8 @@ tv_mac_ipv6_frag_fdir_rss_queues = {
],
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": [2, 3], "mark_id": 0},
}
@@ -180,7 +188,8 @@ tv_mac_ipv6_frag_fdir_passthru = {
"rule": "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions passthru / mark / end",
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -190,7 +199,8 @@ tv_mac_ipv6_frag_fdir_drop = {
"rule": "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions drop / mark / end",
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "drop": True},
}
@@ -200,7 +210,8 @@ tv_mac_ipv6_frag_fdir_mark_rss = {
"rule": "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions mark / rss / end",
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -210,7 +221,8 @@ tv_mac_ipv6_frag_fdir_mark = {
"rule": "flow create 0 ingress pattern eth / ipv6 / ipv6_frag_ext frag_data spec 0x0001 frag_data mask 0x0001 / end actions mark id 1 / end",
"scapy_str": {
"matched": ["Ether()/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"],
- "unmatched": ["Ether()/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether()/IPv6()/Raw('X'*666)",
+ "Ether()/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 1},
}
--
2.17.1
next prev parent reply other threads:[~2022-05-24 2:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-24 2:12 [dts][PATCH V1 1/5] tests/rte_flow_common:modify check mismatch pkts test Zhimin Huang
2022-05-24 2:12 ` Zhimin Huang [this message]
2022-05-24 2:12 ` [dts][PATCH V1 3/5] test_plans/ice_ip_fragment_rte_flow:extend mismatch pkts Zhimin Huang
2022-05-24 2:12 ` [dts][PATCH V1 4/5] tests/ice_iavf_ip_fragment_rte_flow:extend " Zhimin Huang
2022-05-24 2:12 ` [dts][PATCH V1 5/5] test_plans/ice_iavf_ip_fragment_rte_flow:extend " Zhimin Huang
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=20220524021232.32762-2-zhiminx.huang@intel.com \
--to=zhiminx.huang@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).