From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <Jerin.Jacob@cavium.com>
Received: from NAM01-SN1-obe.outbound.protection.outlook.com
 (mail-sn1nam01on0041.outbound.protection.outlook.com [104.47.32.41])
 by dpdk.org (Postfix) with ESMTP id E34414A63
 for <dev@dpdk.org>; Tue,  9 Aug 2016 20:46:09 +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=q2OXKoD/vjEUxXjEgullvGjS/0mz4Lfs0nW4MdeTQAg=;
 b=g3eMss4/V1ZTDAW8LMnipxaVdbJRV6Fg6EDksbdjgKJLOT89trEUhiErWk5nleFKpSHJG5y2t7yDQu9iiGOE4zVSTdCa2LhfqhBWa/cT2AheJi6Hc1xUR7+hKv43MXjRpXxRBgSKFyC8gw7dkLLroZ9KKTvYPnlOPjCvP6LjNEk=
Authentication-Results: spf=none (sender IP is )
 smtp.mailfrom=Jerin.Jacob@cavium.com; 
Received: from localhost.localdomain (50.233.148.156) by
 BN3PR0701MB1717.namprd07.prod.outlook.com (10.163.39.16) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
 15.1.549.15; Tue, 9 Aug 2016 18:46:06 +0000
Date: Wed, 10 Aug 2016 00:16:03 +0530
From: Jerin Jacob <jerin.jacob@caviumnetworks.com>
To: Bruce Richardson <bruce.richardson@intel.com>
CC: <dev@dpdk.org>, <thomas.monjalon@6wind.com>, <hemant.agrawal@nxp.com>,
 <shreyansh.jain@nxp.com>
Message-ID: <20160809184602.GA4570@localhost.localdomain>
References: <20160809010138.GA8143@localhost.localdomain>
 <20160809084846.GB72228@bricha3-MOBL3>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20160809084846.GB72228@bricha3-MOBL3>
User-Agent: Mutt/1.6.2 (2016-07-01)
X-Originating-IP: [50.233.148.156]
X-ClientProxiedBy: BY2PR12CA0020.namprd12.prod.outlook.com (10.160.121.30) To
 BN3PR0701MB1717.namprd07.prod.outlook.com (10.163.39.16)
X-MS-Office365-Filtering-Correlation-Id: 6d68ff92-3aef-4d69-001f-08d3c0856c84
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717;
 2:FEekJuWXF7dAqRDN5JykcAbRkEZqHa9oKD9Y2v0a7ZGov8ymLVhorXOuyrZsdcde2ps3b7tXMx4IyrY/U54JYAccvTnCHyu3WGI8qFGExfmxHVaCRgnLwbdqOXcaK5rbIyc0dHuxum4DMc5SPFhlp7+up3MILb4ZVQP62ZpbAN1G1DbVpa3cuWjtPD5lY6HX;
 3:arABND0d9zVFFnZw4H6mXW4DkVmT4/ywwYkWQNRqaHAQWDSPUwQdPSxAPMHJ+ocGJd+F3MDecgyVFMFaQtXEn7OZzCEPAnw+wOSD57AljRuFyS1hsDuqP8jwmPGP9fBu;
 25:mHHSETYdd/cW5PNlUqjbYprcfUKOyNcREfdRpGGuMZrXcxCxDKNbarTCqf7ImEU0oh51MXfJ7gXXqwBkeX8zn2krWFql+I/dCE5CmhiwCOdZs5B/JhYX8EER3i++3vB24ebHT+vE4MHUG0WtA/W+HpGLMEzSlU/3euugURMIVVTA1ofq4Wudkngr2iakL0JQf8b1fHYw+Nl8EWCWGaw2wy1MXS00WOz+NNAdz1ShFNtWnI0qHZ29voqPp7AEXagvoKTfLxmkJ7X60fBTmiDpnQ9+B73cA/CKzs7hK9oN22nm8cyEBUZyLvPKMQQEtQE56UMOxr+fNQS71aoMSu9QGO0YcCbFIaUt+pdTyMtBaCokycxDSV6SakcHLki5WHZ/uGJK9XPAzXdPKtH3ade4wBrBdTAP5cjU/C7fMf5UbXY=
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0701MB1717;
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717;
 31:kZL+5BEim/7CWzjvIFg+MsHRdmxF4EMVjs55zr35qpP0NTBqW2lL/50ESqTPlRL1+nLwwTnWLKLcsQRBqBoSKJ/Y4Yv1LpHTeVP9LoU18746CLOAOmQLVYtyT2n5GNSNCP/zz7VeotVHlMPwzmtsp3yT7qmnItWP6U94xBULv62ZMzAg8eHnGDOuxIYlX3k8UEV7cbysZ5p1r4NTkMMa/XyHK+RR8A330ScnXwU/LH4=;
 20:SGR1RXmq5g4JIfHPVfHkMoC7POmSx+0WGi7S7hBFGOX8dtCO47Jpf8eL8fWWRX706Chk2KTCCOZAU1zqSoKh/c9SUJwRJQYilW5YRIrXSulgWgLE1RPbBVffY6C+4OecnO4yoSPriaZlgLIE+yFpRSsUNOlRI7WOywWo8ljvfVaGboO8O9qTr/y/Xx6/PulvzZBjbiViK8vOgnsCwdCsOmwu3Q2BAt8X7/gAQV+cyZsMVconPt3vj7ByFPSYrobx+iBk5ofKdfYWwLVrdNVRZ4WubnssPobAy1fzatsThQYzQ+RL2+8VYuGzNYuqMlvfsEwpdIF1RXKUbUfz3KopS0A5fMnfXaqDEyVS0yI/jqmwceAgjVfxFBZHoNUeSWrf/xAW/EQKc8gKrkE4emKa60xGrRVGEIHHOIYy1qImsBYnI0BQYaVbmmdR9tN6M1GuWX/X4W8zlgTn6m90KgmzxvJXMO3GUBUM/Xjf1c5exYp6wAZwz9PRIh28cxY514bzQKx9t/j+gXaRrC49KT943o7cG4zaooY4mInPNKDOediinDZ7KAyf/50Fo/ToYxzVJ9PfZ4t0E1Tl9vLUFNyaWUNZSQoi9ld9Oz6InRXkuOw=
X-Microsoft-Antispam-PRVS: <BN3PR0701MB17170FB70699953CE2EBB31C811C0@BN3PR0701MB1717.namprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(166708455590820);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0;
 RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046);
 SRVR:BN3PR0701MB1717; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1717; 
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1717;
 4:uylZ6+wzXlC0552ewAPK6m+xeqKGuHAvg+oorWs4Egc3g2mIcwUZMinFHaW6kFs+XRYSP5kDk6Ml1+WVXD5D0h6EwtcVlWUyB1PhfRxUOXPvtThonw4HLJjfCcCpjT87QN+ODcGeWqzJxvivSPvK7Zpg3LoTgqSPv1BUI8DYkGRV5mAXsFzRDnps3y839DjnGgS+J0BMxrahYgppWQ3bZRiGJmHG5N+JZBTXbjn4g2t5/tPeiSqBLmyKF61EuNJcwsM89pl9Z4MsAIHdGdWXu1weYkySzteWjY8VKW265ZrA4uajlejQbnXoc7KAN2sT/WoSlLnL2MxD+2PjEX9+XpO7kEkVSqRgJNT4hhEGLSxm7iL8ZzHkAjkp8mJm+lSTVKqJMkYLpOy/4SnZGW5Q3dcKPzgMv5DKbQYpieiUltM=
X-Forefront-PRVS: 0029F17A3F
X-Forefront-Antispam-Report: SFV:NSPM;
 SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(189002)(199003)(24454002)(51914003)(97756001)(8666005)(101416001)(33656002)(9686002)(106356001)(76176999)(50986999)(7736002)(92566002)(561944003)(50466002)(54356999)(7846002)(305945005)(68736007)(2906002)(46406003)(47776003)(19580395003)(4326007)(4001350100001)(97736004)(83506001)(81166006)(81156014)(189998001)(8676002)(66066001)(105586002)(110136002)(42186005)(15975445007)(77096005)(2950100001)(586003)(1076002)(23726003)(6116002)(61506002)(3846002)(18370500001)(7059030);
 DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1717; H:localhost.localdomain; FPR:;
 SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
Received-SPF: None (protection.outlook.com: cavium.com does not designate
 permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1717;
 23:4+mg3Oe8231WC8aQOb7QTpDXt0Co1OCC51CPAeS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Ss5cKTxij2y2FsLDIEW2m0z84bhFt7sQ=;
 7:nHLceMelQBgeaQx35v9Aw1+Ry30vOyBMDo6q/aYT9nVjPPJ5eFD+bc1QXnUKvxRdYYiFgsXXQCyz1pdMw/oM55mqX/anql2/weIr6i0oLTYrCGS0QU1cNv67+eZfDm08aYWQLZEITt8h12ul8IzeZ2TYgA3gNr+tJC6XmsgOxfk4lOyIwUTtssjhnXYHTUg8ideQ46HYgZCr6ZJ0WdUf61EqMQtuTZAbeviwDbMSFA/k4T394kz7+ZSDWNStX5zH
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: caviumnetworks.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Aug 2016 18:46:06.8691 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1717
Subject: Re: [dpdk-dev] [RFC] libeventdev: event driven programming model
 framework for DPDK
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Aug 2016 18:46:10 -0000

On Tue, Aug 09, 2016 at 09:48:46AM +0100, Bruce Richardson wrote:
> On Tue, Aug 09, 2016 at 06:31:41AM +0530, Jerin Jacob wrote:
> > Find below the URL for the complete API specification.
> > 
> > https://rawgit.com/jerinjacobk/libeventdev/master/rte_eventdev.h
> > 
> > I have created a supportive document to share the concepts of
> > event driven programming model and proposed APIs details to get
> > better reach for the specification.
> > This presentation will cover introduction to event driven programming model concepts,
> > characteristics of hardware-based event manager devices,
> > RFC API proposal, example use case, and benefits of using the event driven programming model.
> > 
> > Find below the URL for the supportive document.
> > 
> > https://rawgit.com/jerinjacobk/libeventdev/master/DPDK-event_driven_programming_framework.pdf
> > 
> > git repo for the above documents:
> > 
> > https://github.com/jerinjacobk/libeventdev/
> > 
> > Looking forward to getting comments from both application and driver
> > implementation perspective.
> > 
> 
> Hi Jerin,
> 

Hi Bruce,

> thanks for the RFC. Packet distribution and scheduling is something we've been
> thinking about here too. This RFC gives us plenty of new ideas to take on board. :-)

Thanks

> While you refer to HW implementations on SOC's, have you given any thought to
> how a pure-software implementation of an event API might work? I know that

Yes. I have removed almost all hardware specific details from the API
specification. Mostly the APIs are driven by the use case.

I had impression that software based scheme will use
lib_rte_distributor or lib_rte_reorder libraries to get load balancing
and reordering features. However, if we are looking for some converged
solution without impacting the HW models then I think it is a good step
forward.

IMO, Implementing the ORDERED schedule sync method in a performance effective
way in the SW may be tricky. May be we can introduces some capability based
schemes to co-exists the HW and SW solution.

> while a software implemenation can obviously be done for just about any API,
> I'd be concerned that the API not get in the way of a very highly
> tuned implementation.
> 
> We'll look at it in some detail and get back to you with our feedback, as soon
> as we can, to start getting the discussion going.

OK

> 
> Regards,
> /Bruce
>