From: Zhimin Huang <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts][PATCH V1 4/5] tests/ice_iavf_ip_fragment_rte_flow:extend mismatch pkts
Date: Tue, 24 May 2022 10:12:31 +0800 [thread overview]
Message-ID: <20220524021232.32762-4-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>
---
...TestSuite_ice_iavf_ip_fragment_rte_flow.py | 24 ++++++++++++++-----
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py b/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py
index 8c9cfd9d..8d035df5 100644
--- a/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py
+++ b/tests/TestSuite_ice_iavf_ip_fragment_rte_flow.py
@@ -49,6 +49,7 @@ tv_mac_ipv4_frag_fdir_queue_index = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -63,6 +64,7 @@ tv_mac_ipv4_frag_fdir_rss_queues = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -75,6 +77,7 @@ tv_mac_ipv4_frag_fdir_passthru = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -87,6 +90,7 @@ tv_mac_ipv4_frag_fdir_drop = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -99,6 +103,7 @@ tv_mac_ipv4_frag_fdir_mark_rss = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -111,6 +116,7 @@ tv_mac_ipv4_frag_fdir_mark = {
"scapy_str": {
"matched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
"unmatched": [
+ "Ether(dst='00:11:22:33:55:66')/IP()/Raw('X'*666)",
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
},
@@ -157,7 +163,8 @@ tv_mac_ipv6_frag_fdir_queue_index = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": 1, "mark_id": 0},
}
@@ -171,7 +178,8 @@ tv_mac_ipv6_frag_fdir_rss_queues = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "queue": [2, 3], "mark_id": 0},
}
@@ -183,7 +191,8 @@ tv_mac_ipv6_frag_fdir_passthru = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -195,7 +204,8 @@ tv_mac_ipv6_frag_fdir_drop = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "drop": True},
}
@@ -207,7 +217,8 @@ tv_mac_ipv6_frag_fdir_mark_rss = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
},
"check_param": {"port_id": 0, "rxq": LAUNCH_QUEUE, "mark_id": 0, "rss": True},
}
@@ -219,7 +230,8 @@ tv_mac_ipv6_frag_fdir_mark = {
"matched": [
"Ether(dst='00:11:22:33:55:66')/IPv6()/IPv6ExtHdrFragment(id=47750)/Raw('X'*666)"
],
- "unmatched": ["Ether(dst='00:11:22:33:55:66')/IP(id=47750)/Raw('X'*666)"],
+ "unmatched": ["Ether(dst='00:11:22:33:55:66')/IPv6()/Raw('X'*666)",
+ "Ether(dst='00:11:22:33:55:66')/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 ` [dts][PATCH V1 2/5] tests/ice_ip_fragment_rte_flow:extend mismatch pkts Zhimin Huang
2022-05-24 2:12 ` [dts][PATCH V1 3/5] test_plans/ice_ip_fragment_rte_flow:extend " Zhimin Huang
2022-05-24 2:12 ` Zhimin Huang [this message]
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-4-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).