From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v3 03/14] ring: eliminate duplication of size and mask fields Date: Mon, 27 Mar 2017 11:15:49 +0100 Message-ID: <20170327101549.GB18148@bricha3-MOBL3.ger.corp.intel.com> References: <20170307113217.11077-1-bruce.richardson@intel.com> <20170324171008.29355-1-bruce.richardson@intel.com> <20170324171008.29355-4-bruce.richardson@intel.com> <2476675.J1ds0gYDs0@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: olivier.matz@6wind.com, dev@dpdk.org, jerin.jacob@caviumnetworks.com To: Thomas Monjalon Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 6B01DFA72 for ; Mon, 27 Mar 2017 12:15:53 +0200 (CEST) Content-Disposition: inline In-Reply-To: <2476675.J1ds0gYDs0@xps13> 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, Mar 27, 2017 at 11:52:58AM +0200, Thomas Monjalon wrote: > 2017-03-24 17:09, Bruce Richardson: > > The size and mask fields are duplicated in both the producer and > > consumer data structures. Move them out of that into the top level > > structure so they are not duplicated. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Olivier Matz > > Sorry Bruce, I encounter this error: > > fatal error: no member named 'size' in 'struct rte_ring_headtail' > if (r->prod.size >= ring_size) { > ~~~~~~~ ^ > Ok, I think I've found it now using git grep. I assume this is in the crypto code which is disabled by default, right? /Bruce