Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-15 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Wednesday, December 14, 2016 1:14 PM > To: Van Haaren, Harry > So incorporating my latest suggestions on moving sub_event_type field around: > > union { > uint64_t event; > struct { > uint32_t flow_id

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-15 Thread Jerin Jacob
On Wed, Dec 14, 2016 at 03:19:22PM +, Bruce Richardson wrote: > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > In a polling model, lcores poll ethdev ports and associated > > rx queues directly to look for packet. In an event driven model, > > by contrast, lcores call the sche

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-14 Thread Bruce Richardson
On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > In a polling model, lcores poll ethdev ports and associated > rx queues directly to look for packet. In an event driven model, > by contrast, lcores call the scheduler that selects packets for > them based on programmer-specified criter

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-14 Thread Bruce Richardson
On Wed, Dec 14, 2016 at 06:43:58PM +0530, Jerin Jacob wrote: > On Thu, Dec 08, 2016 at 11:02:16AM +, Van Haaren, Harry wrote: > > > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > > Sent: Thursday, December 8, 2016 1:24 AM > > > To: Van Haaren, Harry > > > > > > > > > > * Oper

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-14 Thread Jerin Jacob
On Thu, Dec 08, 2016 at 11:02:16AM +, Van Haaren, Harry wrote: > > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > Sent: Thursday, December 8, 2016 1:24 AM > > To: Van Haaren, Harry > > > > > > * Operation and sched_type *increased* to 4 bits each (from previous > > > value o

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-13 Thread Jerin Jacob
On Fri, Dec 09, 2016 at 03:11:42PM +, Bruce Richardson wrote: > On Fri, Dec 09, 2016 at 02:11:15AM +0530, Jerin Jacob wrote: > > On Thu, Dec 08, 2016 at 09:30:49AM +, Bruce Richardson wrote: > > > On Thu, Dec 08, 2016 at 12:23:03AM +0530, Jerin Jacob wrote: > > > > On Tue, Dec 06, 2016 at 0

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-13 Thread Jerin Jacob
On Thu, Dec 08, 2016 at 09:57:52AM +, Bruce Richardson wrote: > On Thu, Dec 08, 2016 at 07:18:01AM +0530, Jerin Jacob wrote: > > On Wed, Dec 07, 2016 at 11:12:51AM +, Bruce Richardson wrote: > > > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > > > + */ > > > > +int > > > >

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-09 Thread Bruce Richardson
On Fri, Dec 09, 2016 at 02:11:15AM +0530, Jerin Jacob wrote: > On Thu, Dec 08, 2016 at 09:30:49AM +, Bruce Richardson wrote: > > On Thu, Dec 08, 2016 at 12:23:03AM +0530, Jerin Jacob wrote: > > > On Tue, Dec 06, 2016 at 04:51:19PM +, Bruce Richardson wrote: > > > > On Tue, Dec 06, 2016 at 0

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-08 Thread Jerin Jacob
On Thu, Dec 08, 2016 at 09:30:49AM +, Bruce Richardson wrote: > On Thu, Dec 08, 2016 at 12:23:03AM +0530, Jerin Jacob wrote: > > On Tue, Dec 06, 2016 at 04:51:19PM +, Bruce Richardson wrote: > > > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > > > In a polling model, lcore

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-08 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Thursday, December 8, 2016 1:24 AM > To: Van Haaren, Harry > > * Operation and sched_type *increased* to 4 bits each (from previous value > > of 2) to > allow future expansion without ABI changes > > Anyway it will break ABI

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-08 Thread Bruce Richardson
On Thu, Dec 08, 2016 at 07:18:01AM +0530, Jerin Jacob wrote: > On Wed, Dec 07, 2016 at 11:12:51AM +, Bruce Richardson wrote: > > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > > In a polling model, lcores poll ethdev ports and associated > > > rx queues directly to look for pa

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-08 Thread Bruce Richardson
On Thu, Dec 08, 2016 at 12:23:03AM +0530, Jerin Jacob wrote: > On Tue, Dec 06, 2016 at 04:51:19PM +, Bruce Richardson wrote: > > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > > In a polling model, lcores poll ethdev ports and associated > > > rx queues directly to look for pa

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-07 Thread Jerin Jacob
On Wed, Dec 07, 2016 at 11:12:51AM +, Bruce Richardson wrote: > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > In a polling model, lcores poll ethdev ports and associated > > rx queues directly to look for packet. In an event driven model, > > by contrast, lcores call the sche

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-07 Thread Jerin Jacob
On Wed, Dec 07, 2016 at 10:57:13AM +, Van Haaren, Harry wrote: > > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > Hi Jerin, Hi Harry, > > Re v2 rte_event struct, there seems to be some changes in the struct layout > and field sizes. I've investigated them, and would like to

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-07 Thread Jerin Jacob
On Tue, Dec 06, 2016 at 04:51:19PM +, Bruce Richardson wrote: > On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > > In a polling model, lcores poll ethdev ports and associated > > rx queues directly to look for packet. In an event driven model, > > by contrast, lcores call the sche

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-07 Thread Bruce Richardson
On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > In a polling model, lcores poll ethdev ports and associated > rx queues directly to look for packet. In an event driven model, > by contrast, lcores call the scheduler that selects packets for > them based on programmer-specified criter

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-07 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] Hi Jerin, Re v2 rte_event struct, there seems to be some changes in the struct layout and field sizes. I've investigated them, and would like to propose some changes to balance the byte-alignment and accessing of the fields. These cha

Re: [dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-06 Thread Bruce Richardson
On Tue, Dec 06, 2016 at 09:22:15AM +0530, Jerin Jacob wrote: > In a polling model, lcores poll ethdev ports and associated > rx queues directly to look for packet. In an event driven model, > by contrast, lcores call the scheduler that selects packets for > them based on programmer-specified criter

[dpdk-dev] [PATCH v2 1/6] eventdev: introduce event driven programming model

2016-12-05 Thread Jerin Jacob
In a polling model, lcores poll ethdev ports and associated rx queues directly to look for packet. In an event driven model, by contrast, lcores call the scheduler that selects packets for them based on programmer-specified criteria. Eventdev library adds support for event driven programming model,