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 44B79A05D3 for ; Sun, 24 Mar 2019 09:03:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 09B352BDB; Sun, 24 Mar 2019 09:03:12 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 5771423D for ; Sun, 24 Mar 2019 09:03:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Mar 2019 01:03:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="128150411" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 24 Mar 2019 01:03:09 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 01:03:08 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 24 Mar 2019 01:03:08 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.134]) with mapi id 14.03.0415.000; Sun, 24 Mar 2019 16:03:06 +0800 From: "Tu, Lijuan" To: "Wan, Zhe" , "dts@dpdk.org" CC: "Wan, Zhe" Thread-Topic: [dts] [PATCH V1] test_plans/distributor: test plan revise Thread-Index: AQHU3gHgtDGbwEef7kKXSInMyXVT16YacWww Date: Sun, 24 Mar 2019 08:03:06 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA458EB@SHSMSX101.ccr.corp.intel.com> References: <1552993432-38039-1-git-send-email-zhe.wan@intel.com> In-Reply-To: <1552993432-38039-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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGZhMjAxMjctYTBhNS00ZWI4LTlkZWYtYWU0ZTdmMmNhODgwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYmFOVWlEaTRldFFNejBPYVhteFRicHNtZ0hTSEN1QzNTbEk0eEhJRDNMcjV3YTIyMndVNFlMZ0NueWNibGRaZyJ9 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 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 directory = should be ./app/test/test or ./x86_64-native-linuxapp-gcc/app/test. 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 +++---------------------------= ------ > 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 > =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/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 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