From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7512AA055E; Wed, 26 Feb 2020 08:12:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3AE471BF8D; Wed, 26 Feb 2020 08:12:55 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 9C8F61C01 for ; Wed, 26 Feb 2020 08:12:53 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 23:12:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,487,1574150400"; d="scan'208";a="350327545" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 25 Feb 2020 23:12:51 -0800 From: hanyingya To: dts@dpdk.org, zhe.wan@intel.com Cc: hanyingya Date: Wed, 26 Feb 2020 15:18:15 +0800 Message-Id: <1582701495-35228-1-git-send-email-yingyax.han@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1]test_plan: add packet_ordering function test plan X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: hanyingya --- 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