numam-dpdk/lib/librte_mempool
Olivier Matz b291e69423 mempool: introduce function to get mempool page size
In rte_mempool_populate_default(), we determine the page size,
which is needed for calc_size and allocation of memory.

Move this in a function and export it, it will be used in a next
commit.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
2019-11-06 11:11:12 +01:00
..
Makefile mempool: remove deprecated functions 2018-08-05 23:41:57 +02:00
meson.build mempool: remove deprecated functions 2018-08-05 23:41:57 +02:00
rte_mempool_ops_default.c mempool: reduce wasted space on populate 2019-11-06 11:11:10 +01:00
rte_mempool_ops.c mempool: reduce wasted space on populate 2019-11-06 11:11:10 +01:00
rte_mempool_version.map mempool: introduce function to get mempool page size 2019-11-06 11:11:12 +01:00
rte_mempool.c mempool: introduce function to get mempool page size 2019-11-06 11:11:12 +01:00
rte_mempool.h mempool: introduce function to get mempool page size 2019-11-06 11:11:12 +01:00