From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 96E932BC6 for ; Fri, 26 Aug 2016 03:29:19 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP; 25 Aug 2016 18:29:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,578,1464678000"; d="scan'208";a="1047424220" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 25 Aug 2016 18:29:19 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 25 Aug 2016 18:29:18 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 25 Aug 2016 18:29:18 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.107]) with mapi id 14.03.0248.002; Fri, 26 Aug 2016 09:28:10 +0800 From: "Liu, Yong" To: "Xu, GangX" , "dts@dpdk.org" CC: "Xu, GangX" Thread-Topic: [dts] [PATCH V2 02/10] add ip_pipeline cfg test plan Thread-Index: AQHR/qrPyTdRvEwbjUCg4gsvKPS2YaBacueQ Date: Fri, 26 Aug 2016 01:28:10 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E22275C0F@SHSMSX103.ccr.corp.intel.com> References: <1472113463-4298-1-git-send-email-gangx.xu@intel.com> <1472113463-4298-2-git-send-email-gangx.xu@intel.com> In-Reply-To: <1472113463-4298-2-git-send-email-gangx.xu@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDg1MWY0N2UtM2I3Ny00NGUyLThkYzgtYmJmZmE3NjM2ODk1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Im12TEJHSllcL1oxZXZsNUl1dUZqNmd2S2E5MnpyUk5UXC9Cd2REdUQ3NnZPST0ifQ== x-ctpclassification: CTP_IC 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 02/10] add ip_pipeline cfg 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: , X-List-Received-Date: Fri, 26 Aug 2016 01:29:20 -0000 Gang, please rewrite the description, it will help us known that what will = be tested in this suite. Please send out your suites one by one, thus we can review them more effect= ive. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,gang > Sent: Thursday, August 25, 2016 4:24 PM > To: dts@dpdk.org > Cc: Xu, GangX > Subject: [dts] [PATCH V2 02/10] add ip_pipeline cfg test plan >=20 > Signed-off-by: xu,gang > --- > test_plans/ip_pipeline_cfg_test_plan.rst | 173 > +++++++++++++++++++++++++++++++ > 1 file changed, 173 insertions(+) > create mode 100644 test_plans/ip_pipeline_cfg_test_plan.rst >=20 > diff --git a/test_plans/ip_pipeline_cfg_test_plan.rst > b/test_plans/ip_pipeline_cfg_test_plan.rst > new file mode 100644 > index 0000000..db8170e > --- /dev/null > +++ b/test_plans/ip_pipeline_cfg_test_plan.rst > @@ -0,0 +1,173 @@ > +.. Copyright (c) <2010,2011>, Intel Corporation > + All rights reserved. > + > + Redistribution and use in source and binary forms, with or without > + modification, are permitted provided that the following conditions > + are met: > + > + - Redistributions of source code must retain the above copyright > + notice, this list of conditions and the following disclaimer. > + > + - Redistributions in binary form must reproduce the above copyright > + notice, this list of conditions and the following disclaimer in > + the documentation and/or other materials provided with the > + distribution. > + > + - Neither the name of Intel Corporation nor the names of its > + contributors may be used to endorse or promote products derived > + from this software without specific prior written permission. > + > + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS > + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE > + COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, > + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES > + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR > + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, > + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) > + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED > + OF THE POSSIBILITY OF SUCH DAMAGE. > + > +ip_pipeline cfg test plan > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +run ip_pipeline need cfg file,so this case test if ip_pipeline's cfg fil= e > +changed whrther the ip_pipeline program can run. > +the cfg file as follow: > + Gang, your description has invalid syntax issue and also has some typo erro= rs. Please check about it first. Please add some basic descriptions for below configuration files.=20 Like firewall cfg will create what kind of scenario. > +default-FIREWALL.cfg > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +;The default values are stored in this file > +[PIPELINE0] > +type =3D MASTER > +core =3D 0 > +;PIPELINE1 all global variable > +[PIPELINE1] > +core =3D 1 > +pktq_in =3D RXQ0.0 RXQ1.0 > +pktq_out =3D TXQ0.0 TXQ1.0 > +msgq_in =3D MSGQ0 > +msgq_out =3D MSGQ0 > +timer_period =3D 100 > + > +type =3D FIREWALL > +n_rules =3D 1 > +pkt_type =3D ipv4 > + > +if running successfully,test pass else fail > +------------------------------------------- > + > +default-FLOW_ACTIONS.cfg > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +;The default values are stored in this file > +[PIPELINE0] > +type =3D MASTER > +core =3D 0 > +;PIPELINE1 all global variable > +[PIPELINE1] > +core =3D 1 > +pktq_in =3D RXQ0.0 RXQ1.0 > +pktq_out =3D TXQ0.0 TXQ1.0 > +msgq_in =3D MSGQ0 > +msgq_out =3D MSGQ0 > +timer_period =3D 100 > + > +type =3D FLOW_ACTIONS > +n_flows =3D 4096 > +flow_id_offset =3D 286 > +color_offset =3D 192 > +ip_hdr_offset =3D 270 > +n_meters_per_flow =3D 1 > + > +if running successfully,test pass else fail > +------------------------------------------- > + > +default-FLOW_CLASSIFICATION.cfg > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > +;The default values are stored in this file > +[PIPELINE0] > +type =3D MASTER > +core =3D 0 > +;PIPELINE1 all global variable > +[PIPELINE1] > +core =3D 1 > +pktq_in =3D RXQ0.0 RXQ1.0 > +pktq_out =3D TXQ0.0 TXQ1.0 > +msgq_in =3D MSGQ0 > +msgq_out =3D MSGQ0 > +timer_period =3D 100 > + > +type =3D FLOW_CLASSIFICATION > +n_flows =3D 4096 > +key_offset =3D 192 > +key_size =3D 16 > +hash_offset =3D 208 > + > +if running successfully,test pass else fail > +------------------------------------------- > + > +default-PASS-THROUGH.cfg > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +[PIPELINE0] > +type =3D MASTER > +core =3D 0 > +[PIPELINE1] > +core =3D 1 > +pktq_in =3D RXQ0.0 RXQ1.0 > +pktq_out =3D TXQ0.0 TXQ1.0 > +msgq_in =3D MSGQ0 > +msgq_out =3D MSGQ0 > +timer_period =3D 100 > + > +type =3D PASS-THROUGH > +dma_size =3D 16 > +dma_dst_offset =3D 64 > +dma_src_offset =3D 150 > +dma_src_mask =3D 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF > +dma_hash_offset =3D 80 > + > +if running successfully,test pass else fail > +------------------------------------------- > + > +default-ROUTING.cfg > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +;The default values are stored in this file > +[PIPELINE0] > +type =3D MASTER > +core =3D 0 > +;PIPELINE1 all global variable > +[PIPELINE1] > +core =3D 1 > +pktq_in =3D RXQ0.0 RXQ1.0 > +pktq_out =3D TXQ0.0 TXQ1.0 > +msgq_in =3D MSGQ0 > +msgq_out =3D MSGQ0 > +timer_period =3D 100 > + > +type =3D ROUTING > +n_routes =3D 4096 > +ip_hdr_offset =3D 270 > + > +if running successfully,test pass else fail > +------------------------------------------- > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > + > -- > 1.9.3