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 6187CA056D; Tue, 3 Mar 2020 06:41:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 380851BFF2; Tue, 3 Mar 2020 06:41:16 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 7F0822BB8 for ; Tue, 3 Mar 2020 06:41:14 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 21:41:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,510,1574150400"; d="scan'208";a="438593498" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga005.fm.intel.com with ESMTP; 02 Mar 2020 21:41:12 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 2 Mar 2020 21:41:12 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 2 Mar 2020 21:41:11 -0800 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 2 Mar 2020 21:41:11 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.144]) with mapi id 14.03.0439.000; Tue, 3 Mar 2020 13:41:09 +0800 From: "Tu, Lijuan" To: "Han, YingyaX" , "dts@dpdk.org" , "Wan, Zhe" CC: "Han, YingyaX" Thread-Topic: [dts] [PATCH V1]test_plan: add packet_ordering function test plan Thread-Index: AQHV7HQ3Nmb/sXmSgUqC6RWfhq0F8Kg2Y76w Date: Tue, 3 Mar 2020 05:41:09 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBE8F3A@SHSMSX101.ccr.corp.intel.com> References: <1582701495-35228-1-git-send-email-yingyax.han@intel.com> In-Reply-To: <1582701495-35228-1-git-send-email-yingyax.han@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" 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 > Cc: Han, YingyaX > Subject: [dts] [PATCH V1]test_plan: add packet_ordering function test pla= n >=20 > Signed-off-by: hanyingya > --- > test_plans/packet_ordering_test_plan.rst | 18 ++++++++++++++++-- > 1 file changed, 16 insertions(+), 2 deletions(-) >=20 > 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. >=20 > 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. >=20 > Run the app with below sample command:: >=20 > - ./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 > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +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