[dpdk-dev] [PATCH v3 1/8] stack: introduce rte stack library

Olivier Matz olivier.matz at 6wind.com
Thu Mar 14 09:00:09 CET 2019


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 <gage.eads at intel.com>

Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>


More information about the dev mailing list