From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0041.outbound.protection.outlook.com [104.47.38.41]) by dpdk.org (Postfix) with ESMTP id 9BD5C2C8 for ; Tue, 27 Jun 2017 10:09:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=C9Ya/3BCz9MmVZ17tDlwYWlG9MxGPaG7QFtvR5VoVs4=; b=Q7idphIo+9sF6XwN0yzWQ9mjxUCyvQ8unU0gsZ/ZkrroWktwtNghunMZGbj/Xe5j+4kkShptkZNtSRsQ/lJNOj5c6L/JsJsHTxWHymYmBuouXMkXXlfY12YmOF7OfxsaYfaKf/WfXf/Vb1eDyVn/LpEcIz9DcF6d7Wt4pgFMlfM= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 27 Jun 2017 08:09:06 +0000 Date: Tue, 27 Jun 2017 13:38:21 +0530 From: Jerin Jacob To: "Eads, Gage" Cc: "dev@dpdk.org" , "Richardson, Bruce" , "Van Haaren, Harry" , "hemant.agrawal@nxp.com" , "nipun.gupta@nxp.com" , "Vangati, Narender" , "Rao, Nikhil" Message-ID: <20170627080820.GA14276@jerin> References: <20170612114627.18893-1-jerin.jacob@caviumnetworks.com> <9184057F7FC11744A2107296B6B8EB1E01ED7263@FMSMSX108.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9184057F7FC11744A2107296B6B8EB1E01ED7263@FMSMSX108.amr.corp.intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0086.INDPRD01.PROD.OUTLOOK.COM (10.174.144.154) To BN3PR0701MB1720.namprd07.prod.outlook.com (10.163.39.19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c01fadd-5c2a-4d8e-056e-08d4bd33ca23 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506067)(300135500095); SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 3:0Wch41a3yl3NTb6vD85d79+/5lE1tB7hENhdxnfz2R16dr7WUybTWPKePLHT3wu+J5vv4J2wRBnna2n29y69Msxle2O0KD0Yzd2Lgn27AxuvFzOrHNtAplNc6xcAVPv9pEzMpQfW94x5uSQq5pIFOX+bUEeJTjpPZ4aKfJPjcqibh2le61cPnuiYnMN1evmGdXQ3Iou54W7C0UB4noCMDeFooZaOgPRN770rXcptbysHaw8ybytIUWCnAqcTapvnb7r4MtX0DF7LaaGmGcMwVbMJCR7eIs5tBMUiKC/bUk0X6WbSF/2/tsDbdu4PAEsP6THbkf3mljP158r+feHD0VAWWVZFsi+iA1WGQndKJN2zw78JOS4jDTKHDvbmegq+4FAlZjW7wn7C7t01BhEtI1vuqf7Wb9chOOwmokUpBPGsP2mTmvskvpDakuUOTmfKEv2yC1fjfE/hajUB6K46Ynwa3GFcC+lKCZWVKyp6dOBFecAKrwddLXgm3zSS/7YCHbXFFswJyJFK2/0ESUA5pb5K9lhXNudsIMK2xM/PSWTzPLDN9K9tX44VcNzfUwquDxHfngeTNtYWcQ1lCENffyPzhR7pSqYsU/NNwJ6t8mZYylrV/n+c4fYtdVvhWAaAYiaycYOsm/pA5gMNNVjSQQ53ZAWWi1jn7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IWV5DBska2mAnY= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 31:LzXUi3Z+tDHaJqvUO7VxqOSef8tEdXCEGconX19GPELsXK1vr8G5H2qMFWJD7tYBkNEwwwJtCGVl8Qj5klAz/WOANzWVMSolEkjwyozbhVqy2X4ydQnsXhWrifSfV2WvEdFuoNInqxFCndNjZ25+D471pMidR9nfhJHFQY3efVLmnpyMBTUd2J6zjSQvH9cw6X92Bu292TU5eW1BkyOSyCkBhu+O1yqIyfdF2vpHrb+FT5AnwFt8/ABOtHifqYrK/mQq6F2bIfrjaGXFqUFSTW+MTlSbcZPKrmm1Os3wk4+0y+wrOvu7Eh8zgw37ouPR581+T/7ul1CdedmJOdE7BOwSmBg7Qk+SQYryBDvgljB+yIFVOZZyOLr9J6t0sJIUU84TQId6gWg/udoAOPY3Mg28QwX8SqrBgAuuNBJazHEDHopCW1UFoznLvRctQM3S9oTr2zKufVABFYG70zrYD3Jk0wXfZDW8gmmpwba5h4thNtjrPFBQC+2vzdfyJnAcigSzC8UFKAWhRVzi6COfGDmZOBR1/lKn/r7ppIdw1b+nABu6O8Hy3rfcFCJNDoVvP/VaMfMaHSZST9WkASc9aw7j8FHnj/GNGGIinUL+qyrLPz5kdTe9M60/wG7qU7BZuZliJKvyNHIWqX/GsQB7sYxeoYshrQltUi4YGg75z1FG+GxIQXVngkpckcAfwAYK0loC39AxcsKJvX13gT0tmg== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 20:LZiLq8eINudJSSB/5lXAMYtW4yh4yGATsbXiw5lg9LultQ/yLSoLkRddGFusAcqD7E3ljTJ6UgjattdYZbd26bFsFFDz5dmUFXBKZywxfXB0AKcPDjFGRS23JPCrKOPSJsHUZVyaajQCNO/+wEYpi8BSIs7pEidj0vKkD6ESe+xq9ztnyq4GsuHjvdJzcNr1JuNGWZjO0RxsaZG66QvWsF7gmNe0OstFQA7a0raGLTVoJuT4dqc20T2cbsccHo2N+pzihKKR3jHHYZCMyM/Jd+7x3am//jvuqhoIMT1E/TB/03YuZ3U748P79RzeR6Iu8xJz7OXD+Wqvo00Ux9JEKE+TgBmAUE0CtMAJ/N21QQwC3TLnUz05DJYWKofGV1t+o2wCjkKgTCY95JYq0AouXm094XjJTuQBJJy/tk643QGa4cSQ44baGLHrBE8aEyOp8A8WqBfuGH4OYRvJz0LhOSDHCRUVxmVj2GBxanVVtPY9gKHv8YzI5sIazPEXweHPRwPUc2wDdguIPrFXB5cYgyUueXmGUkp/BmvekQJROU3cbFnpz2tPCx91VbSzBZyuQdbPDz08SDJNLFxw0afUQ4nVbb6VN7g/8orQCqp6gCs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(185117386973197)(228905959029699)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123560025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0701MB1720; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0701MB1720; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1720; 4:Dc0YmhoJM9oqF6wndNu2kkIMl7aDhs9xBIn3lMss?= =?us-ascii?Q?KON6nvYqPcofNbnsWhWLMI49YojIfndaJYKpuChQ2L8WTb6cn4zjcmrkWTw6?= =?us-ascii?Q?em0uNoBwe1406TL4xV2mqp9VSNfPSD1WEfACDvGBFzkvh+VtbAIDN4wYCjM7?= =?us-ascii?Q?aydc5o8jrN5v1hWq4HkIOcBndN0WHepq6bYTYj/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?5EOQeUmddLOeYTv8SEkmwut0PWvsiTXePZuKLYYSD/rgWfnqJ4E3Ez2r9PXo?= =?us-ascii?Q?3FUn6ieAugBuOVM2t55nzjGhFLhl/1Na7kqDFkhR4swdymt4r4qF3+QyeEN+?= =?us-ascii?Q?c3n8BYod4o7f8/oaJ3/2AXGbvZRI/VsxKGsjwVwoODMnYVVxnZE8PhmxI4Y4?= =?us-ascii?Q?cmEaqB5If4IvIPI7445pd2XMm1krExlU2V6uMa8RiyUUgkWE1eqY+1iIPqV/?= =?us-ascii?Q?/e04a1DQhJYQpCaZFBfChV4=3D?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39400400002)(39850400002)(39410400002)(13464003)(377454003)(33656002)(6496005)(66066001)(110136004)(38730400002)(54906002)(8656002)(5009440100003)(42186005)(55016002)(8676002)(9686003)(53936002)(478600001)(72206003)(5660300001)(6666003)(6246003)(53546010)(229853002)(189998001)(25786009)(4326008)(50466002)(47776003)(81166006)(42882006)(2950100002)(305945005)(6916009)(6116002)(3846002)(23726003)(1076002)(54356999)(76176999)(2906002)(50986999)(33716001)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1720; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1720; 23:EGu6XikhjKaxDwMHfR+QjsnSKw/CxIjFpZzQ+f2?= =?us-ascii?Q?RssiIMEzUQXKAPWHAFKcYPLgj79iME+bw4JCHdU7z+TWLgU1cdJufoMDX2XX?= =?us-ascii?Q?5dO+pTvRKsOgogwnY1ukUWo2zw9dDglQSQyuIc7jWkDnWFf8x1bI4TmkjCH0?= =?us-ascii?Q?aVeakpdS+ezVuzC/JGEV88AwM38qaUlJCHSo/t3doU/1GthKVGV5y2u96EwK?= =?us-ascii?Q?ys6yW7EAySnaRCd1xI2W1QHA3HYCKd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NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1720; 7:C/2zODDUJfToX+1gKvuLTARJ+w3JJ6t3N4W9iALad62yF4VdoF3pqJeYnQmPE+fpE5SqjQlrXNwCL9fxjQRVTsqKFRRUu3Q5aQLGM6SGZrBip+ULjRgFGHglISKu807cRPJNa3pnqFp3hAog0c+wM8QC5xwSC3ne0qxPQVV6QHBRp+Vm8RmcgZoWYyOjqx5vL9H6A9LcM7urS7k38MIh/+cA7wW+nHtqe39K7vYz9PwV3SGzcKD/fIsq0xKjN50yaMM2jfQmcVCEo/TB1H6vJG7gtee4IxA2RFUBH6jpaGlw5aWfyv7yd8Q08mPP7f/kt/UrToL/UknCVVA6EMJOvEIGPhm5OXjxSf4Pz9C/frhe/lROodyaxoVermLMHmvYdGQoLw3w0fqE04v1stbPp8mKwxf2IHWp/s8Z95gtgqrsbD3/pNh5tbBfEGK85ItbUUZl/aNSf5j11eGZtlmmVTbKdd/2M9yflVXjvt9NzqnYF5M9Oxd2Ef9z7xhkXG7lYgV1li2t2d33AGgRkt9oZo2C8hwAe6EehJaUMzjLbfVFEMrPTi7evNBbgA//QsAsdIF9+tGMBVxHGPMqHZVCdV/k5vXCeXEg3wCCcvY0guFdDcNQyFupFR1HdxBjsSQa3MXCVqryhj/CpDBMLA4ykIqqh9kDwXfxPOtcZN7imD/cJBBVVq/6jlJViWNbavAmfPPcM20KSg0GTOJkfX3+AqZ9CINjoSv8/4zKvQKmap9EAaKp+2KF4MwzOCMg4GkNybNaQ2YPBm3CE3wJ5kWUFemXUSoKNCyFK6USJS5wtB0= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 08:09:06.7574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1720 Subject: Re: [dpdk-dev] [PATCH] eventdev: add producer enqueue hint 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, 27 Jun 2017 08:09:12 -0000 -----Original Message----- > Date: Mon, 26 Jun 2017 15:44:10 +0000 > From: "Eads, Gage" > To: Jerin Jacob , "dev@dpdk.org" > > CC: "Richardson, Bruce" , "Van Haaren, Harry" > , "hemant.agrawal@nxp.com" > , "nipun.gupta@nxp.com" , > "Vangati, Narender" , "Rao, Nikhil" > > Subject: RE: [dpdk-dev] [PATCH] eventdev: add producer enqueue hint > > > > > -----Original Message----- > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > Sent: Monday, June 12, 2017 6:46 AM > > To: dev@dpdk.org > > Cc: Richardson, Bruce ; Van Haaren, Harry > > ; hemant.agrawal@nxp.com; Eads, Gage > > ; nipun.gupta@nxp.com; Vangati, Narender > > ; Rao, Nikhil ; Jerin Jacob > > > > Subject: [dpdk-dev] [PATCH] eventdev: add producer enqueue hint > > > > Some PMD like OCTEONTX can have optimized handling of events if the PMD > > knows it is a producer pattern in advance. > > For instance, OCTEONTX PMD can support burst mode if op == > > RTE_EVENT_OP_NEW. > > > > Since the event producer initialize(set all_op_new == 1) the event object before > > the main producer loop, This scheme does not call for any performance > > regression on other PMDs. > > > > Signed-off-by: Jerin Jacob > > --- > > Another option is to add a flag in enqueue API or have parallel enqueue API. > > --- > > drivers/event/octeontx/ssovf_worker.c | 12 ++++++++++-- > > lib/librte_eventdev/rte_eventdev.h | 10 +++++++++- > > 2 files changed, 19 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/event/octeontx/ssovf_worker.c > > b/drivers/event/octeontx/ssovf_worker.c > > index ad3fe684d..209c595cf 100644 > > --- a/drivers/event/octeontx/ssovf_worker.c > > +++ b/drivers/event/octeontx/ssovf_worker.c > > @@ -196,8 +196,16 @@ ssows_enq(void *port, const struct rte_event *ev) > > uint16_t __hot ssows_enq_burst(void *port, const struct rte_event ev[], > > uint16_t nb_events) { > > - RTE_SET_USED(nb_events); > > - return ssows_enq(port, ev); > > + uint16_t i; > > + struct ssows *ws = port; > > + > > + if (ev[0].all_op_new) { > > + rte_smp_wmb(); > > + for (i = 0; i < nb_events; i++) > > + ssows_new_event(ws, &ev[i]); > > + return i; > > + } else > > + return ssows_enq(port, ev); > > } > > > > void > > diff --git a/lib/librte_eventdev/rte_eventdev.h > > b/lib/librte_eventdev/rte_eventdev.h > > index a248fe90e..1c1a46593 100644 > > --- a/lib/librte_eventdev/rte_eventdev.h > > +++ b/lib/librte_eventdev/rte_eventdev.h > > @@ -933,7 +933,15 @@ struct rte_event { > > * and is undefined on dequeue. > > * @see RTE_EVENT_OP_NEW, (RTE_EVENT_OP_*) > > */ > > - uint8_t rsvd:4; > > + uint8_t all_op_new:1; > > + /**< Valid only with event enqueue operation - This hint > > + * indicates that the enqueue request has only the > > + * events with op == RTE_EVENT_OP_NEW. > > + * The event producer, typically use this pattern to > > + * inject the events to eventdev. > > + * @see RTE_EVENT_OP_NEW > > rte_event_enqueue_burst() > > + */ > > + uint8_t rsvd:3; > > /**< Reserved for future use */ > > uint8_t sched_type:2; > > /**< Scheduler synchronization type > > (RTE_SCHED_TYPE_*) > > -- > > 2.13.1 > > I slightly prefer the parallel enqueue API -- I can see folks making the mistake of setting all_op_new without setting the op to RTE_EVENT_OP_NEW, and later adding a "forward-only" enqueue API could be interesting for the sw PMD -- but this looks fine to me. Curious if others have any thoughts. If forward-only parallel enqueue API interesting for the SW PMD then I can drop this one and introduce forward-only API. Let me know if others have any thoughts?