From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 478CC2C28 for ; Thu, 14 Mar 2019 09:00:14 +0100 (CET) Received: from lfbn-1-5920-128.w90-110.abo.wanadoo.fr ([90.110.126.128] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4LJu-0005iQ-5t; Thu, 14 Mar 2019 09:02:32 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 14 Mar 2019 09:00:09 +0100 Date: Thu, 14 Mar 2019 09:00:09 +0100 From: Olivier Matz To: Gage Eads Cc: dev@dpdk.org, arybchenko@solarflare.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com, nd@arm.com, thomas@monjalon.net Message-ID: <20190314080009.hkqcla4mujy6to47@platinum> References: <20190305164256.2367-1-gage.eads@intel.com> <20190306144559.391-1-gage.eads@intel.com> <20190306144559.391-2-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190306144559.391-2-gage.eads@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v3 1/8] stack: introduce rte stack library 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: Thu, 14 Mar 2019 08:00:14 -0000 On Wed, Mar 06, 2019 at 08:45:52AM -0600, Gage Eads wrote: > The rte_stack library provides an API for configuration and use of a > bounded stack of pointers. Push and pop operations are MT-safe, allowing > concurrent access, and the interface supports pushing and popping multiple > pointers at a time. > > The library's interface is modeled after another DPDK data structure, > rte_ring, and its lock-based implementation is derived from the stack > mempool handler. An upcoming commit will migrate the stack mempool handler > to rte_stack. > > Signed-off-by: Gage Eads Reviewed-by: Olivier Matz From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5AF2FA0096 for ; Thu, 14 Mar 2019 09:00:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59B7B3572; Thu, 14 Mar 2019 09:00:15 +0100 (CET) Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 478CC2C28 for ; Thu, 14 Mar 2019 09:00:14 +0100 (CET) Received: from lfbn-1-5920-128.w90-110.abo.wanadoo.fr ([90.110.126.128] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h4LJu-0005iQ-5t; Thu, 14 Mar 2019 09:02:32 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Thu, 14 Mar 2019 09:00:09 +0100 Date: Thu, 14 Mar 2019 09:00:09 +0100 From: Olivier Matz To: Gage Eads Cc: dev@dpdk.org, arybchenko@solarflare.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, gavin.hu@arm.com, Honnappa.Nagarahalli@arm.com, nd@arm.com, thomas@monjalon.net Message-ID: <20190314080009.hkqcla4mujy6to47@platinum> References: <20190305164256.2367-1-gage.eads@intel.com> <20190306144559.391-1-gage.eads@intel.com> <20190306144559.391-2-gage.eads@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20190306144559.391-2-gage.eads@intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH v3 1/8] stack: introduce rte stack library 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190314080009.8WM0Ys5Oj1LXeERrtXFsA9J2bVq3R0sQJTxkgwjoQto@z> On Wed, Mar 06, 2019 at 08:45:52AM -0600, Gage Eads wrote: > The rte_stack library provides an API for configuration and use of a > bounded stack of pointers. Push and pop operations are MT-safe, allowing > concurrent access, and the interface supports pushing and popping multiple > pointers at a time. > > The library's interface is modeled after another DPDK data structure, > rte_ring, and its lock-based implementation is derived from the stack > mempool handler. An upcoming commit will migrate the stack mempool handler > to rte_stack. > > Signed-off-by: Gage Eads Reviewed-by: Olivier Matz