mempool: support non-EAL thread
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 <7edc6dd0948177c688da9b288939d80da3db4303@intel.com>
Acked-by: Olivier Matz <dfcc1510895413197abb4336e39bb0a3906cba71@6wind.com>
Acked-by: Konstantin Ananyev <cbd5212b59ab42a210d72992d23a3aa17cfd3eaf@intel.com>

venkynv/dpdk-mirror,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,mixja/dpdk,tsphillips/dpdk-fork,tsphillips/dpdk-fork,tsphillips/dpdk-fork,msune/dpdk,venkynv/dpdk-mirror,tsphillips/dpdk-fork,msune/dpdk,msune/dpdk,mixja/dpdk,mixja/dpdk,mixja/dpdk,msune/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk