* [dts] [PATCH V1]test_plan: add packet_ordering function test plan
@ 2020-02-26 7:18 hanyingya
2020-03-03 5:41 ` Tu, Lijuan
0 siblings, 1 reply; 2+ messages in thread
From: hanyingya @ 2020-02-26 7:18 UTC (permalink / raw)
To: dts, zhe.wan; +Cc: hanyingya
Signed-off-by: hanyingya <yingyax.han@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1]test_plan: add packet_ordering function test plan
2020-02-26 7:18 [dts] [PATCH V1]test_plan: add packet_ordering function test plan hanyingya
@ 2020-03-03 5:41 ` Tu, Lijuan
0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-03-03 5:41 UTC (permalink / raw)
To: Han, YingyaX, dts, Wan, Zhe; +Cc: Han, YingyaX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of hanyingya
> Sent: Wednesday, February 26, 2020 3:18 PM
> To: dts@dpdk.org; Wan, Zhe <zhe.wan@intel.com>
> Cc: Han, YingyaX <yingyax.han@intel.com>
> Subject: [dts] [PATCH V1]test_plan: add packet_ordering function test plan
>
> Signed-off-by: hanyingya <yingyax.han@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-03 5:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 7:18 [dts] [PATCH V1]test_plan: add packet_ordering function test plan hanyingya
2020-03-03 5:41 ` Tu, Lijuan
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).