numam-dpdk/lib/librte_mempool
David Hunt 57faf30b07 mempool: add stack mempool handler
This is a mempool handler that is useful for pipelining apps, where
the mempool cache doesn't really work - example, where we have one
core doing rx (and alloc), and another core doing Tx (and return).
In such a case, the mempool ring simply cycles through all the mbufs,
resulting in a LLC miss on every mbuf allocated when the number of
mbufs is large. A stack (LIFO) recycles buffers more effectively in
this case.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-07-01 12:35:57 +02:00
..
Makefile mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
rte_mempool_ops.c mempool: support handler operations 2016-06-24 11:01:05 +02:00
rte_mempool_ring.c mempool: support handler operations 2016-06-24 11:01:05 +02:00
rte_mempool_stack.c mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
rte_mempool_version.map mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
rte_mempool.c mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
rte_mempool.h mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00