test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst
@ 2020-06-22  9:51 Peng Yuan
  2020-06-28  6:35 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Yuan @ 2020-06-22  9:51 UTC (permalink / raw)
  To: dts; +Cc: pengyuan

From: pengyuan <yuan.peng@intel.com>

Add 4*25 NIC description for cvl_fdir_test_plan.rst

Signed-off-by: pengyuan <yuan.peng@intel.com>

diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst
index 12e5041..254bb53 100644
--- a/test_plans/cvl_fdir_test_plan.rst
+++ b/test_plans/cvl_fdir_test_plan.rst
@@ -2463,6 +2463,16 @@ Subcase 1: port stop/port start/port reset
 
 8. verify matched packet can be still redirected to queue 1 with FDIR matched ID=0x0.
 
+9. add a new rule::
+
+    flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.22 dst is 192.168.0.23 / end actions queue index 2 / mark id 1 / end
+
+10. list the rule and send matched packet::
+
+    sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.22",dst="192.168.0.23") / Raw('x' * 80)],iface="enp175s0f0")
+
+   check the packet are redirected to queue 2 with FDIR matched ID=0x1
+
 Subcase 2: add/delete rules
 ---------------------------
 
@@ -2579,6 +2589,9 @@ Subcase 3: delete rules
 
 Subcase 4: max rules
 --------------------
+This case is designed based on 2*100G NIC.
+If 4*25 NIC, each PF port has 512 fdir rules guaranteed.
+So there can be created 14848 fdir rules on 1 PF port.
 
 1. create 15360 rules on port 0::
 
-- 
2.14.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst
  2020-06-22  9:51 [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst Peng Yuan
@ 2020-06-28  6:35 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-06-28  6:35 UTC (permalink / raw)
  To: Peng, Yuan, dts; +Cc: Peng, Yuan

Applied Failed.

Applying: test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst
error: patch failed: test_plans/cvl_fdir_test_plan.rst:2463
error: test_plans/cvl_fdir_test_plan.rst: patch does not apply
Patch failed at 0001 test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of Peng Yuan
Sent: 2020^[$BG/^[(B6^[$B7n^[(B22^[$BF|^[(B 17:52
To: dts@dpdk.org
Cc: Peng, Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst

From: pengyuan <yuan.peng@intel.com>

Add 4*25 NIC description for cvl_fdir_test_plan.rst

Signed-off-by: pengyuan <yuan.peng@intel.com>

diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst
index 12e5041..254bb53 100644
--- a/test_plans/cvl_fdir_test_plan.rst
+++ b/test_plans/cvl_fdir_test_plan.rst
@@ -2463,6 +2463,16 @@ Subcase 1: port stop/port start/port reset
 
 8. verify matched packet can be still redirected to queue 1 with FDIR matched ID=0x0.
 
+9. add a new rule::
+
+    flow create 0 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.22 dst is 192.168.0.23 / end actions queue index 2 / mark id 1 / end
+
+10. list the rule and send matched packet::
+
+    sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.22",dst="192.168.0.23") / Raw('x' * 80)],iface="enp175s0f0")
+
+   check the packet are redirected to queue 2 with FDIR matched ID=0x1
+
 Subcase 2: add/delete rules
 ---------------------------
 
@@ -2579,6 +2589,9 @@ Subcase 3: delete rules
 
 Subcase 4: max rules
 --------------------
+This case is designed based on 2*100G NIC.
+If 4*25 NIC, each PF port has 512 fdir rules guaranteed.
+So there can be created 14848 fdir rules on 1 PF port.
 
 1. create 15360 rules on port 0::
 
-- 
2.14.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  9:51 [dts] [PATCH]test_plans: Add 4*25 NIC description for cvl_fdir_test_plan.rst Peng Yuan
2020-06-28  6:35 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox