mbuf: use default mempool handler from config
authorDavid Hunt <david.hunt@intel.com>
Wed, 22 Jun 2016 09:27:29 +0000 (10:27 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 24 Jun 2016 09:01:05 +0000 (11:01 +0200)
commit152ca517900b39defec76796ca4e806c9e6d96a2
treeb7c4540858a0844160159f965d7807d61acff3d3
parent99ca3b7a82b0fa0db8cda1f097901376dc86fdf5
mbuf: use default mempool handler from config

By default, the mempool ops used for mbuf allocations is a multi
producer and multi consumer ring. We could imagine a target (maybe some
network processors?) that provides an hardware-assisted pool
mechanism. In this case, the default configuration for this architecture
would contain a different value for RTE_MBUF_DEFAULT_MEMPOOL_OPS.

Signed-off-by: David Hunt <david.hunt@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
config/common_base
lib/librte_mbuf/rte_mbuf.c