From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 2/2] mempool/nb_stack: add non-blocking stack mempool Date: Sat, 19 Jan 2019 01:15:28 +0100 Message-ID: <4946283.tQcWuvKPBh@xps> References: <20190116151835.22424-1-gage.eads@intel.com> <9184057F7FC11744A2107296B6B8EB1E541C9612@FMSMSX108.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Honnappa Nagarahalli , "olivier.matz@6wind.com" , "arybchenko@solarflare.com" , "Richardson, Bruce" , "Ananyev, Konstantin" , "Gavin Hu (Arm Technology China)" , nd To: "Eads, Gage" Return-path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 027362B9E for ; Sat, 19 Jan 2019 01:15:32 +0100 (CET) In-Reply-To: <9184057F7FC11744A2107296B6B8EB1E541C9612@FMSMSX108.amr.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/01/2019 01:00, Eads, Gage: > > > I am wondering if it makes sense to decouple the NB stack data > > > structure from mempool driver (similar to rte_ring)? I see that stack > > > based mempool implements the stack data structure in the driver. But, > > > NB stack might not be such a trivial data structure. It might be > > > useful for the applications or other use cases as well. > > > > > > > I agree -- and you're not the first to suggest this :). > > > > I'm going to defer that work to a later patchset; creating a new lib/ directory > > requires tech board approval (IIRC), which would unnecessarily slow down this > > mempool handler from getting merged. You have time. This patch cannot go in 19.02. You just need to be ready for 19.05-rc1 (more than 2 months). [...] > modularizing nb_lifo can be deferred to the patchset that moves it to a separate library. Please introduce it in the right place from the beginning.