From: Haiyang Zhao <haiyangx.zhao@intel.com>
To: dts@dpdk.org
Cc: Haiyang Zhao <haiyangx.zhao@intel.com>
Subject: [dts] [PATCH V1 4/8] test_plans/cvl_switch_filter_test_plan:fix build warnings and errors
Date: Thu, 9 Jan 2020 14:05:12 +0800 [thread overview]
Message-ID: <1578549916-14350-4-git-send-email-haiyangx.zhao@intel.com> (raw)
In-Reply-To: <1578549916-14350-1-git-send-email-haiyangx.zhao@intel.com>
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
test_plans/cvl_switch_filter_test_plan.rst | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/test_plans/cvl_switch_filter_test_plan.rst b/test_plans/cvl_switch_filter_test_plan.rst
index 43f5930..630fcc3 100644
--- a/test_plans/cvl_switch_filter_test_plan.rst
+++ b/test_plans/cvl_switch_filter_test_plan.rst
@@ -64,7 +64,7 @@ Pattern and input set
| Packet Types | Pattern +-------------------------------------------+-------------------------------------------+
| | | non-pipeline mode | pipeline mode |
+=====================+===============================+===========================================+===========================================+
- | | MAC_IPV4_FRAG | N/A | [Source IP], [Dest IP], |
+ | | MAC_IPV4_FRAG | N/A | [Source IP], [Dest IP], |
| | | | [DSCP] |
| +-------------------------------+-------------------------------------------+-------------------------------------------+
| | MAC_IPV4_PAY | [Source IP], [Dest IP],[TOS],[TTL] | [Source IP], [Dest IP], |
@@ -82,7 +82,7 @@ Pattern and input set
| | | | [TC] |
| +-------------------------------+-------------------------------------------+-------------------------------------------+
| | MAC_IPV6_UDP_PAY | [Source IP], [Dest IP],[TOS],[TTL], | [Source IP], [Dest IP], |
- | | | [Source Port],[Dest Port] | [Source IP], [Dest IP], |
+ | | | [Source Port],[Dest Port] | [Source IP], [Dest IP], |
| | | | [TC], |
| | | | [Source Port], [Dest Port] |
| +-------------------------------+-------------------------------------------+-------------------------------------------+
@@ -92,7 +92,7 @@ Pattern and input set
| | | | [Source Port], [Dest Port] |
+---------------------+-------------------------------+-------------------------------------------+-------------------------------------------+
| | MAC_IPV4_TUN_IPV4_FRAG | [Out Dest IP], [VNI/GRE_KEY], | [inner Source IP], [inner Dest IP], |
- | | | [Inner Source IP], [Inner Dest IP], | [DSCP] |
+ | | | [Inner Source IP], [Inner Dest IP], | [DSCP] |
| +-------------------------------+-------------------------------------------+-------------------------------------------+
| | MAC_IPV4_TUN_IPV4_PAY | [Out Dest IP], [VNI/GRE_KEY], | N/A |
| | | [Inner Source IP], [Inner Dest IP], | |
@@ -4519,6 +4519,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / udp src is 25 dst is 23 / end actions queue index 2 / end
send matched packets::
+
sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1",dst="192.168.0.2",tos=4,ttl=3)/UDP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 2
@@ -4530,6 +4531,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.3 tos is 4 / udp src is 25 dst is 23 / end actions drop / end
send matched packets::
+
sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1",dst="192.168.0.3",tos=4)/UDP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
@@ -4543,6 +4545,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.32 tos is 4 / tcp src is 25 dst is 23 / end actions queue index 3 / end
send matched packets::
+
sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1",dst="192.168.0.32",tos=4)/TCP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 3
@@ -4554,6 +4557,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.3 tos is 4 / tcp src is 25 dst is 23 / end actions drop / end
send matched packets::
+
sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1",dst="192.168.0.3",tos=4)/TCP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
@@ -4568,6 +4572,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions queue index 8 / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 8
@@ -4579,6 +4584,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1537 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 / end actions drop / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1537", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
@@ -4592,6 +4598,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2022 / end actions queue index 10 / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2022")/IPv6ExtHdrFragment()/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 10
@@ -4603,6 +4610,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 src is CDCD:910A:2222:5498:8475:1111:3900:1536 dst is CDCD:910A:2222:5498:8475:1111:3900:2023 / end actions drop / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1536", dst="CDCD:910A:2222:5498:8475:1111:3900:2023")/IPv6ExtHdrFragment()/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
@@ -4614,8 +4622,9 @@ verify theses 100 packets dropped
create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is CDCD:910A:2222:5498:8475:1111:3900:1518 / udp src is 25 dst is 23 / end actions queue index 6 / end
-
+
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1518", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 6
@@ -4627,6 +4636,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is CDCD:910A:2222:5498:8475:1111:3900:1528 / udp src is 25 dst is 23 / end actions drop / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1528", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/UDP(sport=25,dport=23)/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
@@ -4640,6 +4650,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is CDCD:910A:2222:5498:8475:1111:3900:1515 / tcp / end actions queue index 12 / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1515", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP()/("X"*480)], iface="enp27s0f2", count=100)
verify these 100 packets to queue 12
@@ -4651,6 +4662,7 @@ create a rule::
testpmd> flow create 0 ingress pattern eth / ipv6 dst is CDCD:910A:2222:5498:8475:1111:3900:2020 src is CDCD:910A:2222:5498:8475:1111:3900:1516 / tcp / end actions drop / end
send matched packets::
+
sendp([Ether()/IPv6(src="CDCD:910A:2222:5498:8475:1111:3900:1516", dst="CDCD:910A:2222:5498:8475:1111:3900:2020")/TCP()/("X"*480)], iface="enp27s0f2", count=100)
verify theses 100 packets dropped
--
1.8.3.1
next prev parent reply other threads:[~2020-01-09 6:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-09 6:05 [dts] [PATCH V1 1/8] test_plans/index: add new test plans into toctree Haiyang Zhao
2020-01-09 6:05 ` [dts] [PATCH V1 2/8] test_plans/cvl_advanced_rss_test_plan:fix build warnings and errors Haiyang Zhao
2020-01-09 6:05 ` [dts] [PATCH V1 3/8] test_plans/cvl_fdir_test_plan:fix " Haiyang Zhao
2020-01-09 6:05 ` Haiyang Zhao [this message]
2020-01-09 6:05 ` [dts] [PATCH V1 5/8] test_plans/loopback_virtio_user_packed_ring_server_mode_test_plan:fix " Haiyang Zhao
2020-01-09 6:05 ` [dts] [PATCH V1 6/8] test_plans/ntb_test_plan:fix " Haiyang Zhao
2020-01-09 6:05 ` [dts] [PATCH V1 7/8] test_plans/pvp_packed_ring_vhost_user_reconnect_test_plan:fix " Haiyang Zhao
2020-01-09 6:05 ` [dts] [PATCH V1 8/8] test_plans/rteflow_priority_test_plan:fix " Haiyang Zhao
2020-01-09 8:45 ` [dts] [PATCH V1 1/8] test_plans/index: add new test plans into toctree Tu, Lijuan
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=1578549916-14350-4-git-send-email-haiyangx.zhao@intel.com \
--to=haiyangx.zhao@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).