numam-dpdk/lib/librte_mempool
Cunming Liang 30e6399892 mempool: support non-EAL thread
For non-EAL thread, bypass per lcore cache, directly use ring pool.
It allows using rte_mempool in either EAL thread or any user pthread.
As in non-EAL thread, it directly rely on rte_ring and it's none preemptive.
It doesn't suggest to run multi-pthread/cpu which compete the rte_mempool.
It will get bad performance and has critical risk if scheduling policy is RT.
Haven't found significant performance decrease by mempool_perf_test.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-02-24 20:22:57 +01:00
..
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_dom0_mempool.c eal: deprecate rte_snprintf 2014-06-27 02:31:24 +02:00
rte_mempool_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_mempool.c mempool: avoid dump crash with null pointer 2014-11-27 17:30:20 +01:00
rte_mempool.h mempool: support non-EAL thread 2015-02-24 20:22:57 +01:00