85226f9c52
Introduce a new function rte_mempool_create_empty() that allocates a mempool that is not populated. The functions rte_mempool_create() and rte_mempool_xmem_create() now make use of it, making their code much easier to read. Currently, they are the only users of rte_mempool_create_empty() but the function will be made public in next commits. Signed-off-by: Olivier Matz <olivier.matz@6wind.com>