From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3611FA84F for ; Tue, 16 Jan 2018 12:58:17 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 03:58:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,368,1511856000"; d="scan'208";a="26850312" Received: from irsmsx110.ger.corp.intel.com ([163.33.3.25]) by orsmga002.jf.intel.com with ESMTP; 16 Jan 2018 03:58:14 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.180]) by irsmsx110.ger.corp.intel.com ([163.33.3.25]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 11:58:13 +0000 From: "Van Haaren, Harry" To: Pavan Nikhilesh , "jerin.jacob@caviumnetworks.com" , "santosh.shukla@caviumnetworks.com" , "Eads, Gage" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "Ma, Liang J" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 09/13] app/eventdev: add pipeline queue test Thread-Index: AQHTi8TI7uj0foJX+E2yvbm+kqmS4aN2au7A Date: Tue, 16 Jan 2018 11:58:13 +0000 Message-ID: References: <20171130072406.15605-1-pbhagavatula@caviumnetworks.com> <20180112164416.21374-1-pbhagavatula@caviumnetworks.com> <20180112164416.21374-9-pbhagavatula@caviumnetworks.com> In-Reply-To: <20180112164416.21374-9-pbhagavatula@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGNlMDJmYTgtODUzYy00OTEwLThhNDYtY2FmN2I3MWE1NjAwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Ink5b2d4S2Z0cFNpelhJR0dBRDdjVzNXWjI1VkFZZHlDczRwM0xHSER2SlU9In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 09/13] app/eventdev: add pipeline queue test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 11:58:17 -0000 > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > Sent: Friday, January 12, 2018 4:44 PM > To: jerin.jacob@caviumnetworks.com; santosh.shukla@caviumnetworks.com; Va= n > Haaren, Harry ; Eads, Gage > ; hemant.agrawal@nxp.com; nipun.gupta@nxp.com; Ma, > Liang J > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v4 09/13] app/eventdev: add pipeline queue tes= t >=20 > This is a pipeline queue test case that aims at testing the following: > 1. Measure the end-to-end performance of an event dev with a ethernet dev= . > 2. Maintain packet ordering from Rx to Tx. >=20 > The pipeline queue test configures the eventdev with Q queues and P ports= , > where Q is (nb_ethdev * nb_stages) + nb_ethdev and P is nb_workers. >=20 > The user can choose the number of workers and number of stages through th= e > --wlcores and the --stlist application command line arguments respectivel= y. > The probed ethernet devices act as producer(s) for this application. >=20 > The ethdevs are configured as event Rx adapters that enables them to > injects events to eventdev based the first stage schedule type list > requested by the user through --stlist the command line argument. >=20 > Based on the number of stages to process(selected through --stlist), > the application forwards the event to next upstream queue and when it > reaches last stage in the pipeline if the event type is ATOMIC it is > enqueued onto ethdev Tx queue else to maintain ordering the event type is > set to ATOMIC and enqueued onto the last stage queue. > On packet Tx, application increments the number events processed and prin= t > periodically in one second to get the number of events processed in one > second. >=20 > Note: The --prod_type_ethdev is mandatory for running the application. >=20 > Example command to run pipeline queue test: > sudo build/app/dpdk-test-eventdev -c 0xf -s 0x8 --vdev=3Devent_sw0 -- \ > --test=3Dpipeline_queue --wlcore=3D1 --prod_type_ethdev --stlist=3Dao >=20 > Signed-off-by: Pavan Nikhilesh Acked-by: Harry van Haaren