numam-dpdk/lib/librte_mempool
Wenfeng Liu 454a0a7009 mempool: use cache in single producer or consumer mode
Currently we will check mempool flags when we put/get objects from
mempool. However, this makes cache useless when mempool is SC|SP,
SC|MP, MC|SP cases.
This patch makes cache available in above cases and improves performance.

Signed-off-by: Wenfeng Liu <liuwf@arraynetworks.com.cn>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-01-13 16:38:09 +01:00
..
Makefile mempool: add stack mempool handler 2016-07-01 12:35:57 +02:00
rte_mempool_ops.c mempool: fix missing registration of free function 2016-07-21 23:15:47 +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: remove redundant socket id assignment 2016-12-06 15:18:51 +01:00
rte_mempool.h mempool: use cache in single producer or consumer mode 2017-01-13 16:38:09 +01:00