numam-dpdk/lib
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
..
librte_acl mk: fix cross-compilation 2016-06-07 10:02:39 +02:00
librte_cfgfile cfgfile: fix uninitialized variable on load error 2016-05-02 15:15:46 +02:00
librte_cmdline cmdline: check initialization error 2016-05-19 14:40:12 +02:00
librte_compat
librte_cryptodev crypto/kasumi: add driver for KASUMI library 2016-06-20 22:25:32 +02:00
librte_distributor
librte_eal kni: fix build with gcc 6 2016-06-21 17:50:22 +02:00
librte_ether ethdev: fix doxygen formatting 2016-06-22 23:56:18 +02:00
librte_hash hash: remove aliases for bulk lookup 2016-04-20 13:49:36 +02:00
librte_ip_frag mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_ivshmem eal: remove useless includes of mempool and ring 2016-06-10 15:09:04 +02:00
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni kni: describe mempool capacity requirement 2016-06-14 17:15:01 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm6: fix possible garbage in lookup 2016-05-02 15:15:45 +02:00
librte_mbuf mbuf: add NSH packet type 2016-06-23 21:39:42 +02:00
librte_mempool mempool: support handler operations 2016-06-24 11:01:05 +02:00
librte_meter mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pdump pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
librte_pipeline mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_port port: support KNI 2016-06-21 18:05:45 +02:00
librte_power power: fix error messages 2016-05-16 14:17:41 +02:00
librte_reorder
librte_ring mem: avoid memzone/mempool/ring name truncation 2016-05-19 14:40:14 +02:00
librte_sched sched: fix build without red 2016-06-14 17:24:15 +02:00
librte_table table: fix next hop table entry type 2016-06-21 22:41:40 +02:00
librte_timer
librte_vhost vhost: check hugepage fstat error 2016-06-22 09:47:12 +02:00
Makefile pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00