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

Fu, Qi qi.fu at intel.com
Wed Aug 12 03:29:56 CEST 2020


Acked-by: Fu, Qi <qi.fu at intel.com>

Best regards,
Fu, Qi

> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Junyu Jiang
> Sent: Tuesday, August 11, 2020 2:08 PM
> To: dts at dpdk.org
> Cc: Jiang, JunyuX <junyux.jiang at 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 at 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



More information about the dts mailing list