[dts] [PATCH V1]test_plan: add packet_ordering function test plan

Tu, Lijuan lijuan.tu at intel.com
Tue Mar 3 06:41:09 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of hanyingya
> Sent: Wednesday, February 26, 2020 3:18 PM
> To: dts at dpdk.org; Wan, Zhe <zhe.wan at intel.com>
> Cc: Han, YingyaX <yingyax.han at intel.com>
> Subject: [dts] [PATCH V1]test_plan: add packet_ordering function test plan
> 
> Signed-off-by: hanyingya <yingyax.han at intel.com>
> ---
>  test_plans/packet_ordering_test_plan.rst | 18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
> 
> diff --git a/test_plans/packet_ordering_test_plan.rst
> b/test_plans/packet_ordering_test_plan.rst
> index a647660..cac5f7c 100644
> --- a/test_plans/packet_ordering_test_plan.rst
> +++ b/test_plans/packet_ordering_test_plan.rst
> @@ -1,4 +1,4 @@
> -.. Copyright (c) <2019>, Intel Corporation
> +.. Copyright (c) <2020>, Intel Corporation
>     All rights reserved.
> 
>     Redistribution and use in source and binary forms, with or without @@ -
> 88,4 +88,18 @@ Reordered ratio: ratio between out of order packets and
> total sent packets.
> 
>  Run the app with below sample command::
> 
> -    ./examples/packet_ordering/build/packet_ordering -c coremask  -- -p
> portmask
> \ No newline at end of file
> +    ./examples/packet_ordering/build/packet_ordering -c coremask  -- -p
> + portmask
> +
> +Test Case: keep the packet ordering
> +===================================
> +
> +This is a basic functional test.
> +The packets order which will pass through a same flow should be
> guaranteed.
> +
> +1. Run the sample with below command::
> +
> +    ./examples/packet_ordering/build/packet_ordering -c coremask  -- -p
> + portmask
> +
> +2. Send 1000 packets with the same 5-tuple traffic from Scapy
> +
> +3. Observe the packets received and check the packets order.
> --
> 2.17.2



More information about the dts mailing list