diff mbox series

[v2,1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case

Message ID 20200811060745.16434-1-junyux.jiang@intel.com (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] test_plans/fortville_rss_input_test_plan.rst: add flow query test case | expand

Commit Message

Junyu Jiang Aug. 11, 2020, 6:07 a.m. UTC
add test case for rss flow query.

Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
---
 test_plans/fortville_rss_input_test_plan.rst | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)

Comments

Fu, Qi Aug. 12, 2020, 1:29 a.m. UTC | #1
Acked-by: Fu, Qi <qi.fu@intel.com>

Best regards,
Fu, Qi

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Junyu Jiang
> Sent: Tuesday, August 11, 2020 2:08 PM
> To: dts@dpdk.org
> Cc: Jiang, JunyuX <junyux.jiang@intel.com>
> Subject: [dts] [PATCH v2 1/2] test_plans/fortville_rss_input_test_plan.rst: add
> flow query test case
> 
> add test case for rss flow query.
> 
> Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
> ---
>  test_plans/fortville_rss_input_test_plan.rst | 32 ++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/test_plans/fortville_rss_input_test_plan.rst
> b/test_plans/fortville_rss_input_test_plan.rst
> index 7dbb231..925a08d 100644
> --- a/test_plans/fortville_rss_input_test_plan.rst
> +++ b/test_plans/fortville_rss_input_test_plan.rst
> @@ -598,3 +598,35 @@ Test Case: test flow validate
>           flow validate 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-
> tcp l3-dst-only end queues 0 1 end / end
> 
>     verify the rule validate failed.
> +
> +Test Case: test query RSS rule
> +==============================
> +
> +create different RSS rules::
> +
> +    testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types
> ipv4-tcp end queues end / end
> +    testpmd> flow create 0 ingress pattern eth / ipv4 / udp / end actions rss
> types ipv4-udp l3-src-only end queues end func symmetric_toeplitz / end
> +    testpmd> flow create 0 ingress pattern end actions rss types end queues end
> func simple_xor / end
> +    testpmd> flow create 0 ingress pattern end actions rss types end queues 1 2
> end / end
> +    testpmd> flow list 0
> +
> +verify the Rules create successfully.
> +
> +query::
> +
> +    testpmd> flow query 0 0 rss
> +    testpmd> flow query 0 1 rss
> +    testpmd> flow query 0 2 rss
> +    testpmd> flow query 0 3 rss
> +
> +verify the function, type and queues information correct.
> +
> +delete all the rss rules::
> +
> +    testpmd> flow flush 0
> +
> +query::
> +
> +    testpmd> flow query 0 0 rss
> +
> +verify the testpmd report none rss rule exist.
> --
> 2.17.1
Tu, Lijuan Aug. 13, 2020, 2:59 a.m. UTC | #2
> Subject: [dts] [PATCH v2 1/2] test_plans/fortville_rss_input_test_plan.rst: add
> flow query test case
> 
> add test case for rss flow query.
> 
> Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
> ---
>  test_plans/fortville_rss_input_test_plan.rst | 32 ++++++++++++++++++++

Applied
diff mbox series

Patch

diff --git a/test_plans/fortville_rss_input_test_plan.rst b/test_plans/fortville_rss_input_test_plan.rst
index 7dbb231..925a08d 100644
--- a/test_plans/fortville_rss_input_test_plan.rst
+++ b/test_plans/fortville_rss_input_test_plan.rst
@@ -598,3 +598,35 @@  Test Case: test flow validate
          flow validate 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp l3-dst-only end queues 0 1 end / end
 
    verify the rule validate failed.
+
+Test Case: test query RSS rule
+==============================
+
+create different RSS rules::
+
+    testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp end queues end / end
+    testpmd> flow create 0 ingress pattern eth / ipv4 / udp / end actions rss types ipv4-udp l3-src-only end queues end func symmetric_toeplitz / end
+    testpmd> flow create 0 ingress pattern end actions rss types end queues end func simple_xor / end
+    testpmd> flow create 0 ingress pattern end actions rss types end queues 1 2 end / end
+    testpmd> flow list 0
+
+verify the Rules create successfully.
+
+query::
+
+    testpmd> flow query 0 0 rss
+    testpmd> flow query 0 1 rss
+    testpmd> flow query 0 2 rss
+    testpmd> flow query 0 3 rss
+
+verify the function, type and queues information correct.
+
+delete all the rss rules::
+
+    testpmd> flow flush 0
+
+query::
+
+    testpmd> flow query 0 0 rss
+
+verify the testpmd report none rss rule exist.