numam-dpdk/doc/guides/prog_guide
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
..
img doc: add cryptodev chapter in prog guide 2016-04-09 00:40:33 +02:00
build_app.rst mk: remove NO_AUTOLIBS option 2015-05-12 15:13:15 +02:00
cryptodev_lib.rst doc: add cryptodev chapter in prog guide 2016-04-09 00:40:33 +02:00
dev_kit_build_system.rst mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00
dev_kit_root_make_help.rst doc: fix make help 2015-12-07 04:59:56 +01:00
env_abstraction_layer.rst doc: fix multi-process guide 2016-02-09 12:22:26 +01:00
ext_app_lib_make_help.rst doc: fix prefix in file references 2015-03-31 02:55:07 +02:00
extend_dpdk.rst doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
glossary.rst doc: convert prog guide glossary to definition list 2015-04-14 11:19:53 +02:00
hash_lib.rst hash: fix multi-process support 2016-04-01 18:56:27 +02:00
index.rst pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
intro.rst doc: remove Intel references from prog guide 2014-12-19 23:30:26 +01:00
ip_fragment_reassembly_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
ivshmem_lib.rst ivshmem: document a potential crash in rte_ring 2016-06-07 12:05:36 +02:00
kernel_nic_interface.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
link_bonding_poll_mode_drv_lib.rst doc: fix number of supported bonding modes 2016-03-07 22:57:35 +01:00
lpm6_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
lpm_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
mbuf_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
mempool_lib.rst mempool: support handler operations 2016-06-24 11:01:05 +02:00
multi_proc_support.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
overview.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
packet_classif_access_ctrl.rst doc: add a further example in ACL guide 2016-02-09 12:22:26 +01:00
packet_distrib_lib.rst doc: refactor figure numbers into references 2015-05-25 15:59:36 +02:00
packet_framework.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
pdump_lib.rst pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
perf_opt_guidelines.rst doc: remove Intel references from prog guide 2014-12-19 23:30:26 +01:00
poll_mode_drv.rst ethdev: fetch extended statistics with integer ids 2016-06-16 17:40:16 +02:00
port_hotplug_framework.rst doc: add port hotplug framework in programmers guide 2015-02-26 00:08:25 +01:00
power_man.rst doc: remove Intel references from prog guide 2014-12-19 23:30:26 +01:00
profile_app.rst doc: remove Intel references from prog guide 2014-12-19 23:30:26 +01:00
qos_framework.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
reorder_lib.rst doc: new reorder library description 2015-02-18 16:52:05 +01:00
ring_lib.rst doc: refactor figure numbers into references 2015-05-25 15:59:36 +02:00
source_org.rst szedata2: add new poll mode driver 2015-11-20 17:17:04 +01:00
thread_safety_dpdk_functions.rst doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
timer_lib.rst doc: fix spellings and typos 2015-04-29 18:34:58 +02:00
vhost_lib.rst doc: fix spellings and typos 2015-04-29 18:34:58 +02:00
writing_efficient_code.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00