From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP; 30 Jun 2017 06:24:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,286,1496127600"; d="scan'208";a="119393045" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.28]) by orsmga005.jf.intel.com with SMTP; 30 Jun 2017 06:24:49 -0700 Received: by (sSMTP sendmail emulation); Fri, 30 Jun 2017 14:24:48 +0100 Date: Fri, 30 Jun 2017 14:24:48 +0100 From: Bruce Richardson To: Jerin Jacob Cc: dev@dpdk.org, olivier.matz@6wind.com 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 Content-Disposition: inline In-Reply-To: <20170612051546.GA9948@jerin> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.1 (2017-04-11) Subject: Re: [dpdk-dev] [PATCH 3/5] eventdev: add ring structure for events X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 13:24:52 -0000 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.