From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5B72DA0679 for ; Wed, 3 Apr 2019 19:16:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48A7D1B4F5; Wed, 3 Apr 2019 19:16:09 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 5DEA41B4ED for ; Wed, 3 Apr 2019 19:16:08 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Apr 2019 10:16:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,305,1549958400"; d="scan'208";a="147759141" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 03 Apr 2019 10:16:07 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 10:16:06 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 10:16:06 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.164]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.93]) with mapi id 14.03.0415.000; Thu, 4 Apr 2019 01:16:04 +0800 From: "Tu, Lijuan" To: "Wan, Zhe" , "dts@dpdk.org" CC: "Wan, Zhe" Thread-Topic: [dts] [PATCH V2] test_plans/distributor: test plan revise Thread-Index: AQHU5Kn5pidYpoTiVkWqs09ZKFiE5KYquHfA Date: Wed, 3 Apr 2019 17:16:03 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA5B6EF@SHSMSX101.ccr.corp.intel.com> References: <1553725359-164342-1-git-send-email-zhe.wan@intel.com> In-Reply-To: <1553725359-164342-1-git-send-email-zhe.wan@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.0.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjRhODcwOGEtMWQ4NC00MzMyLTg3YzMtOTYxZjYxMGU4ZDcxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiajZhWDRjekZ5M3Znd004amh0YWNqQWU4N3R2RER4SnB4MERva2kyZ2NvXC9kUEdPQXkxUVR6YlczRTRFVUk5MXIifQ== 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 V2] test_plans/distributor: test plan revise 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 Zhe > Sent: Wednesday, March 27, 2019 3:23 PM > To: dts@dpdk.org > Cc: Wan, Zhe > Subject: [dts] [PATCH V2] test_plans/distributor: test plan revise >=20 > From: Zhe Wan >=20 > Signed-off-by: Zhe Wan > --- > test_plans/distributor_test_plan.rst | 42 +++---------------------------= ------ > 1 file changed, 3 insertions(+), 39 deletions(-) >=20 > diff --git a/test_plans/distributor_test_plan.rst > b/test_plans/distributor_test_plan.rst > index 106936d..24b0519 100644 > --- a/test_plans/distributor_test_plan.rst > +++ b/test_plans/distributor_test_plan.rst > @@ -53,7 +53,7 @@ Test Case: Distributor unit test > =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 Start test application and run > distributor unit test:: >=20 > - test -c f -n 4 -- -i > + ./x86_64-native-linuxapp-gcc/app/test -c f -n 4 > RTE>>distributor_autotest >=20 > Verify burst distributor API unit test passed @@ -62,47 +62,13 @@ Test > Case: Distributor performance unit test > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D > Start test application and run distributor unit test:: >=20 > - test -c f -n 4 -- -i > + ./x86_64-native-linuxapp-gcc/app/test -c f -n 4 > RTE>>distributor_perf_autotest >=20 > Compared CPU cycles for normal distributor and burst API >=20 > Verify burst distributor API cost much less cycles then normal version >=20 > -Test Case: Distributor packet check > -=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 > -Start distributor sample with one worker:: > - > - distributor_app -c 0x7c -n 4 -- -p 0x1 > - > -Send few packets (less then burst size) with sequence index which indica= ted > in -ip dst address > - > -Check forwarded packets are all in sequence and content not changed > - > -Send packets equal to burst size with sequence index > - > -Check forwarded packets are all in sequence and content not changed > - > -Send packets over burst size with sequence index > - > -Check forwarded packets are all in sequence and content not changed > - > -Test Case: Distributor with workers > -=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 > -Start distributor sample with two workers:: > - > - distributor_app -c 0xfc -n 4 -- -p 0x1 > - > -Send several packets with ip address increasing > - > -Check packets distributed to different workers > - > -Check all packets have been sent back from tx lcore > - > -Repeat step 1 to step4 with 4(3fc)/8(3ffc)/16(0x3ffffc)/32(0xffff0003fff= fc) > -workers > - > Test case: Distribute with maximum workers > =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=3D=3D=3D=3D=3D=3D=3D > Start distributor sample with 63(0xeffffffffffffffff0) workers @@ -117,7= +83,7 > @@ Test Case: Distributor with multiple input ports > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Start distributor sample with two workers and two ports:: >=20 > - distributor_app -c 0x7c -n 4 -- -p 0x3 > + ./examples/distributor/build/distributor_app -c 0x7c -n 4 -- -p 0x3 >=20 > Send packets with sequence indicated in udp port id >=20 > @@ -151,5 +117,3 @@ for each action in lcores as listed in the table belo= w:: > +----+---------+--------+---------+--------+---------+--------+--------= -+--------+-------- > -+--------+---------+--------+---------+ > | 7 | 32 | | | | | | = | | | | > | | | > +----+---------+--------+---------+--------+---------+--------+--------= -+--------+-------- > -+--------+---------+--------+---------+ > - | 8 | 63 | | | | | | = | | | | > | | | > - +----+---------+--------+---------+--------+---------+--------+--------= -+--------+-------- > -+--------+---------+--------+---------+ > -- > 1.8.3.1