[dpdk-dev] [PATCH 3/5] eventdev: add ring structure for events

Bruce Richardson bruce.richardson at intel.com
Fri Jun 30 15:24:48 CEST 2017


On Mon, Jun 12, 2017 at 10:45:47AM +0530, Jerin Jacob wrote:
> -----Original Message-----
> > Date: Wed, 7 Jun 2017 14:36:18 +0100
> > From: Bruce Richardson <bruce.richardson at intel.com>
> > To: dev at dpdk.org
> > CC: olivier.matz at 6wind.com, jerin.jacob at caviumnetworks.com, Bruce
> >  Richardson <bruce.richardson at intel.com>
> > Subject: [PATCH 3/5] eventdev: add ring structure for events
> > X-Mailer: git-send-email 2.9.4
> > 
> > Add in a new rte_event_ring structure type and functions to allow events to
> > be passed core to core. This is needed because the standard rte_ring type
> > only works on pointers, while for events, we want to copy the entire, 16B
> > events themselves - not just pointers to them. The code makes extensive use
> > of the functions already defined in rte_ring.h
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> 
> 
> Thomas,
> 
> Should this series applied through dpdk/master or dpdk-next-eventdev/master?

I'll leave that up to yourself and Thomas to sort out. My 2c. is that it
probably belongs better in the eventdev tree, especially since the rings
code doesn't see many, if any, changes on mainline anyway to conflict
with this.
I'm going to do up a V2 based on all the feedback this afternoon.

> 
> Bruce,
> __rte_always_inline macro is now part of master. Good to replace with force_inline.



More information about the dev mailing list