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 F2D0423D for ; Tue, 19 Dec 2017 14:34:11 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2017 05:34:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,426,1508828400"; d="scan'208";a="4078181" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by orsmga006.jf.intel.com with ESMTP; 19 Dec 2017 05:34:09 -0800 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX151.ger.corp.intel.com (163.33.192.59) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 19 Dec 2017 13:34:08 +0000 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.180]) by IRSMSX156.ger.corp.intel.com ([169.254.3.33]) with mapi id 14.03.0319.002; Tue, 19 Dec 2017 13:34:07 +0000 From: "Van Haaren, Harry" To: Pavan Nikhilesh , "Eads, Gage" , "jerin.jacobkollanukkaran@cavium.com" , "Rao, Nikhil" , "hemant.agrawal@nxp.com" , "Ma, Liang J" CC: "dev@dpdk.org" Thread-Topic: [PATCH 11/13] examples/eventdev: add atq single stage pipeline worker Thread-Index: AQHTb5uExpFR6uw+dUaG0Pwnr47xcaNKuvZA Date: Tue, 19 Dec 2017 13:34:07 +0000 Message-ID: References: <20171207203705.25020-1-pbhagavatula@caviumnetworks.com> <20171207203705.25020-12-pbhagavatula@caviumnetworks.com> In-Reply-To: <20171207203705.25020-12-pbhagavatula@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjdiNDdjNTctNmRiZi00MGM4LThlYTUtODlkMTc4YzVjZTBiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InVLamZLM25SeGlCUXYzS0FsZmpraGlSK3ZtSEY3aFwvWmtMRkJaa3dxMFpBPSJ9 x-ctpclassification: CTP_IC 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 11/13] examples/eventdev: add atq single stage pipeline worker 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, 19 Dec 2017 13:34:12 -0000 > From: Pavan Nikhilesh [mailto:pbhagavatula@caviumnetworks.com] > Sent: Thursday, December 7, 2017 8:37 PM > To: Eads, Gage ; jerin.jacobkollanukkaran@cavium.com= ; > Van Haaren, Harry ; Rao, Nikhil > ; hemant.agrawal@nxp.com; Ma, Liang J > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [PATCH 11/13] examples/eventdev: add atq single stage pipeline > worker >=20 > Add optimized eventdev pipeline when ethdev supports thread safe Tx, > number of configured stages is one and all type queue option is enabled. >=20 > Signed-off-by: Pavan Nikhilesh > --- > .../eventdev_pipeline_sw_pmd/pipeline_worker_tx.c | 88 > +++++++++++++++++++++- > 1 file changed, 86 insertions(+), 2 deletions(-) > if (cdata.num_stages =3D=3D 1) { > - if (burst) > + if (burst && atq) > + caps->worker_loop =3D worker_do_tx_single_burst_atq; > + if (burst && !atq) > caps->worker_loop =3D worker_do_tx_single_burst; > - if (!burst) > + if (!burst && atq) > + caps->worker_loop =3D worker_do_tx_single_atq; > + if (!burst && !atq) > caps->worker_loop =3D worker_do_tx_single; > } else { > if (burst && atq) As per previous notes, this doesn't scale.