numam-dpdk/app
David Hunt 449c49b93a mempool: support handler operations
Until now, the objects stored in a mempool were internally stored in a
ring. This patch introduces the possibility to register external handlers
replacing the ring.

The default behavior remains unchanged, but calling the new function
rte_mempool_set_ops_byname() right after rte_mempool_create_empty() allows
the user to change the handler that will be used when populating
the mempool.

This patch also adds a set of default ops (function callbacks) based
on rte_ring.

Signed-off-by: David Hunt <david.hunt@intel.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-06-24 11:01:05 +02:00
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
pdump app/pdump: add tool for packet capturing 2016-06-16 23:40:21 +02:00
proc_info ethdev: remove name from extended statistic fetch 2016-06-16 18:12:00 +02:00
test mempool: support handler operations 2016-06-24 11:01:05 +02:00
test-acl acl: fix division by float zero in test app 2016-04-27 17:41:46 +02:00
test-pipeline ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
test-pmd mbuf: add NSH packet type 2016-06-23 21:39:42 +02:00
Makefile app/pdump: add tool for packet capturing 2016-06-16 23:40:21 +02:00