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 D84FAA05D3 for ; Mon, 25 Mar 2019 09:31:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 81EDE2BD3; Mon, 25 Mar 2019 09:31:40 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CB6DD2BD3 for ; Mon, 25 Mar 2019 09:31:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Mar 2019 01:31:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="217290991" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 25 Mar 2019 01:31:37 -0700 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Mar 2019 01:31:37 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 25 Mar 2019 01:31:36 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.80]) with mapi id 14.03.0415.000; Mon, 25 Mar 2019 16:31:34 +0800 From: "Wan, Zhe" To: "Tu, Lijuan" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] test_plans/distributor: test plan revise Thread-Index: AQHU4hgDhXJHSNiezEWJyAFunWwj1KYcAlGw Date: Mon, 25 Mar 2019 08:31:33 +0000 Message-ID: <861C16A15685B44AA870C0D2A97B60458976CE94@SHSMSX101.ccr.corp.intel.com> References: <1552993432-38039-1-git-send-email-zhe.wan@intel.com> <8CE3E05A3F976642AAB0F4675D0AD20E0BA458EB@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <8CE3E05A3F976642AAB0F4675D0AD20E0BA458EB@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGZhMjAxMjctYTBhNS00ZWI4LTlkZWYtYWU0ZTdmMmNhODgwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYmFOVWlEaTRldFFNejBPYVhteFRicHNtZ0hTSEN1QzNTbEk0eEhJRDNMcjV3YTIyMndVNFlMZ0NueWNibGRaZyJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 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_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" Hi Lijuan, Thanks for your review. In the removed test cases, will start one and two workers, they have alread= y get covered.=20 And in now existing test cases, will start 1, 2, 3, 4, 8, 16, 32 workers.=20 Also we didn't have these test cases in TestSuite_distributor.py. So I removed these redundant test cases. Thanks! BR, Wan,Zhe -----Original Message----- From: Tu, Lijuan=20 Sent: Sunday, March 24, 2019 4:03 PM To: Wan, Zhe ; dts@dpdk.org Cc: Wan, Zhe Subject: RE: [dts] [PATCH V1] test_plans/distributor: test plan revise Hi zhe, 1, There is a typo: ./test/tes/test -c f -n 4 should be ./test/test/test -= c f -n 4 2, And confused by your directory, the actually test application d= irectory should be ./app/test/test or ./x86_64-native-linuxapp-gcc/app/tes= t. 3, what do you think about remove several cases. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhe > Sent: Tuesday, March 19, 2019 4:04 AM > To: dts@dpdk.org > Cc: Wan, Zhe > Subject: [dts] [PATCH V1] test_plans/distributor: test plan revise >=20 > From: Zhe Wan >=20 > Signed-off-by: Zhe Wan > --- > test_plans/distributor_test_plan.rst | 42=20 > +++--------------------------------- > 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..db64a54 100644 > --- a/test_plans/distributor_test_plan.rst > +++ b/test_plans/distributor_test_plan.rst > @@ -53,7 +53,7 @@ Test Case: Distributor unit test=20 > =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=20 > distributor unit test:: >=20 > - test -c f -n 4 -- -i > + ./test/test/test -c f -n 4 > RTE>>distributor_autotest >=20 > Verify burst distributor API unit test passed @@ -62,47 +62,13 @@ Test C= ase: > 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 > + ./test/tes/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=20 > 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=20 > indicated 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=20 > 4(3fc)/8(3ffc)/16(0x3ffffc)/32(0xffff0003ffffc) > -workers > - > Test case: Distribute with maximum workers=20 > =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 @@=20 > -117,7 +83,7 @@ Test Case: Distributor with multiple input ports=20 > =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:: > =09 > +----+---------+--------+---------+--------+---------+--------+------- > --+--------+- > --------+--------+---------+--------+---------+ > | 7 | 32 | | | | | | = | | | | | > | | > =09 > +----+---------+--------+---------+--------+---------+--------+------- > --+--------+- > --------+--------+---------+--------+---------+ > - | 8 | 63 | | | | | | = | | | | | > | | > - +----+---------+--------+---------+--------+---------+--------+--------= -+--------+- > --------+--------+---------+--------+---------+ > -- > 1.8.3.1