From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Van Haaren, Harry" Subject: Re: [PATCH v4 09/13] app/eventdev: add pipeline queue test 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Pavan Nikhilesh , "jerin.jacob@caviumnetworks.com" , "santosh.shukla@caviumnetworks.com" , "Eads, Gage" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "Ma, Liang J" 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) In-Reply-To: <20180112164416.21374-9-pbhagavatula@caviumnetworks.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > 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