From: Bruce Richardson <bruce.richardson@intel.com>
To: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Cc: dev@dpdk.org, thomas.monjalon@6wind.com, hemant.agrawal@nxp.com,
shreyansh.jain@nxp.com
Subject: Re: [dpdk-dev] [RFC] libeventdev: event driven programming model framework for DPDK
Date: Tue, 9 Aug 2016 09:48:46 +0100 [thread overview]
Message-ID: <20160809084846.GB72228@bricha3-MOBL3> (raw)
In-Reply-To: <20160809010138.GA8143@localhost.localdomain>
On Tue, Aug 09, 2016 at 06:31:41AM +0530, Jerin Jacob wrote:
> Hi All,
>
> Find below an RFC API specification which attempts to
> define the standard application programming interface
> for event driven programming in DPDK and to abstract HW based event devices.
>
> These devices can support event scheduling and flow ordering
> in HW and typically found in NW SoCs as an integrated device or
> as PCI EP device.
>
> The RFC APIs are inspired from existing ethernet and crypto devices.
> Following are the requirements considered to define the RFC API.
>
> 1) APIs similar to existing Ethernet and crypto API framework for
> ○ Device creation, device Identification and device configuration
> 2) Enumerate libeventdev resources as numbers(0..N) to
> ○ Avoid ABI issues with handles
> ○ Event device may have million flow queues so it's not practical to
> have handles for each flow queue and its associated name based
> lookup in multiprocess case
> 3) Avoid struct mbuf changes
> 4) APIs to
> ○ Enumerate eventdev driver capabilities and resources
> ○ Enqueue events from l-core
> ○ Schedule events
> ○ Synchronize events
> ○ Maintain ingress order of the events
> ○ Run to completion support
>
> 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,
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. :-)
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
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.
Regards,
/Bruce
next prev parent reply other threads:[~2016-08-09 8:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-09 1:01 Jerin Jacob
2016-08-09 8:48 ` Bruce Richardson [this message]
2016-08-09 18:46 ` Jerin Jacob
2016-10-04 21:49 Vangati, Narender
2016-10-05 7:24 ` Jerin Jacob
2016-10-07 10:40 ` Hemant Agrawal
2016-10-09 8:27 ` Jerin Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160809084846.GB72228@bricha3-MOBL3 \
--to=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=jerin.jacob@caviumnetworks.com \
--cc=shreyansh.jain@nxp.com \
--cc=thomas.monjalon@6wind.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).