From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [PATCH v3 1/8] stack: introduce rte stack library Date: Thu, 14 Mar 2019 09:00:09 +0100 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 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 To: Gage Eads 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) Content-Disposition: inline In-Reply-To: <20190306144559.391-2-gage.eads@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" 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