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 59F91A05FE for ; Tue, 19 Mar 2019 04:21:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 149682956; Tue, 19 Mar 2019 04:21:10 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id CDCAD1DBD for ; Tue, 19 Mar 2019 04:21:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Mar 2019 20:21:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,496,1544515200"; d="scan'208";a="141848410" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 18 Mar 2019 20:21:07 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 20:21:07 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Mar 2019 20:21:07 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.134]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.10]) with mapi id 14.03.0415.000; Tue, 19 Mar 2019 11:21:05 +0800 From: "Li, WenjieX A" To: "Wan, Zhe" , "dts@dpdk.org" CC: "Wan, Zhe" Thread-Topic: [dts] [PATCH V1] test_plans/distributor: test plan revise Thread-Index: AQHU3gHgvBrzWGvp1UG/RYJjRaAICKYSSVCg Date: Tue, 19 Mar 2019 03:21:04 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B536609EE@SHSMSX103.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: 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" With latest dpdk, there is not dpdk/test directory. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Zhe > Sent: Tuesday, March 19, 2019 7:04 PM > 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