From: Bruce Richardson Subject: Re: [PATCH 3/5] eventdev: add ring structure for events Date: Fri, 30 Jun 2017 14:24:48 +0100 Message-ID: <20170630132447.GA20580@bricha3-MOBL3.ger.corp.intel.com> References: <20170607133620.275801-1-bruce.richardson@intel.com> <20170607133620.275801-4-bruce.richardson@intel.com> <20170612051546.GA9948@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, olivier.matz@6wind.com To: Jerin Jacob Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 097D4374 for ; Fri, 30 Jun 2017 15:24:51 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20170612051546.GA9948@jerin> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 > > To: dev@dpdk.org > > CC: olivier.matz@6wind.com, jerin.jacob@caviumnetworks.com, Bruce > > Richardson > > 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 > > > 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.