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

hanyingya yingyax.han at intel.com
Wed Feb 26 08:18:15 CET 2020


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