numam-dpdk/lib/librte_mempool
Keith Wiles 213af31e09 mempool: reduce structure size if no cache needed
The rte_mempool structure is changed, which will cause an ABI change
for this structure. Providing backward compat is not reasonable
here as this structure is used in multiple defines/inlines.

Allow mempool cache support to be dynamic depending on if the
mempool being created needs cache support. Saves about 1.5M of
memory used by the rte_mempool structure.

Allocating small mempools which do not require cache can consume
larges amounts of memory if you have a number of these mempools.

Signed-off-by: Keith Wiles <keith.wiles@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-05-17 08:31:33 +02:00
..
Makefile mempool: reduce structure size if no cache needed 2016-05-17 08:31:33 +02:00
rte_dom0_mempool.c lib: remove extra parenthesis after return 2015-06-23 23:31:15 +02:00
rte_mempool_version.map mempool: fix mlx driver loading 2015-12-06 01:02:51 +01:00
rte_mempool.c mempool: reduce structure size if no cache needed 2016-05-17 08:31:33 +02:00
rte_mempool.h mempool: reduce structure size if no cache needed 2016-05-17 08:31:33 +02:00