numam-dpdk/doc/guides/prog_guide
Harry van Haaren aec9c13c52 eal: add function to release internal resources
This commit adds a new function rte_eal_cleanup().
The function serves as a hook to allow DPDK to release
internal resources (e.g.: hugepage allocations).

This function allows DPDK to become more like an ordinary
library, where the library context itself can be initialized
and cleaned up by the application.

The rte_exit() and rte_panic() functions must be considered,
particularly if they should call rte_eal_cleanup() to release any
resources or not. This patch adds the cleanup to rte_exit(),
but does not clean up on rte_panic(). The reason to not clean
up on panicing is that the developer may wish to inspect the
exact internal state of EAL and hugepages.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Vipin Varghese <vipin.varghese@intel.com>
2018-01-29 20:33:53 +01:00
..
img gro: cleanup 2018-01-11 23:18:24 +01:00
bbdev.rst bbdev: introduce wireless base band device lib 2018-01-19 01:44:25 +01:00
build_app.rst mk: remove NO_AUTOLIBS option 2015-05-12 15:13:15 +02:00
cryptodev_lib.rst cryptodev: rename physical address type to IOVA 2017-11-06 22:44:26 +01:00
dev_kit_build_system.rst mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
dev_kit_root_make_help.rst mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
efd_lib.rst doc: add thread-safety information about EFD library 2017-02-14 21:48:36 +01:00
env_abstraction_layer.rst eal: add function to release internal resources 2018-01-29 20:33:53 +01:00
event_ethernet_rx_adapter.rst doc: add event eth Rx adapter guide 2017-11-07 23:09:45 +01:00
eventdev.rst doc: update eventdev guide 2017-10-27 00:53:07 +02: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: fix list numbering in prog guide 2017-05-07 17:06:44 +02:00
flow_classify_lib.rst flow_classify: remove table id parameter from API 2018-01-11 19:15:26 +01:00
generic_receive_offload_lib.rst gro: support VxLAN GRO 2018-01-11 23:18:36 +01:00
generic_segmentation_offload_lib.rst doc: fix GSO guide as PDF 2017-11-15 19:00:28 +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 bbdev: introduce wireless base band device lib 2018-01-19 01:44:25 +01:00
intro.rst doc: fix mistakes in prog guide 2016-12-06 17:56:04 +01:00
ip_fragment_reassembly_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
kernel_nic_interface.rst doc: fix typo in KNI guide 2017-08-05 11:41:17 +02:00
link_bonding_poll_mode_drv_lib.rst doc: fix typo in link bonding guide 2018-01-21 15:51:52 +01:00
lpm6_lib.rst lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
lpm_lib.rst doc: fix references in guides 2016-04-11 23:56:34 +02:00
mbuf_lib.rst doc: fix description of attach to indirect mbuf 2016-12-06 18:06:43 +01:00
member_lib.rst doc: add membership documentation 2017-10-09 00:23:59 +02:00
mempool_lib.rst doc: fix macro name in mempool guide 2016-07-22 18:03:43 +02:00
metrics_lib.rst doc: fix metrics example 2017-07-20 00:06:07 +03:00
multi_proc_support.rst doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
overview.rst doc: fix typos 2016-11-07 21:50:27 +01:00
packet_classif_access_ctrl.rst acl: allow zero verdict 2017-01-30 11:08:47 +01:00
packet_distrib_lib.rst doc: update distributor lib guide for new burst API 2017-03-29 16:46:58 +02:00
packet_framework.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
pdump_lib.rst doc: fix default socket path names in pdump guide 2016-07-16 11:31:37 +02:00
perf_opt_guidelines.rst doc: fix typos in perf guide 2017-07-02 19:24:22 +02:00
poll_mode_drv.rst ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
port_hotplug_framework.rst ethdev: remove detachable device flag 2017-10-26 02:33:01 +02:00
power_man.rst power: add per-core turbo boost API 2017-09-22 16:35:12 +02:00
profile_app.rst ethdev: support vtune task tracing 2017-09-22 19:01:32 +02:00
qos_framework.rst doc: fix typo in prog guide 2018-01-11 18:39:54 +01:00
reorder_lib.rst doc: new reorder library description 2015-02-18 16:52:05 +01:00
ring_lib.rst ring: remove watermark support 2017-03-29 22:25:34 +02:00
rte_flow.rst ethdev: add GENEVE flow pattern item 2018-01-16 18:47:49 +01:00
rte_security.rst security: support user data retrieval 2018-01-20 16:10:20 +01:00
service_cores.rst doc: fix typo in prog guide 2018-01-11 18:40:20 +01:00
source_org.rst eal: remove Xen dom0 support 2017-10-09 01:54:29 +02: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
traffic_management.rst doc: describe traffic management API 2017-08-04 01:07:08 +02:00
traffic_metering_and_policing.rst doc: add ethdev traffic metering and policing guide 2017-10-20 14:10:06 +02:00
vhost_lib.rst vhost: add flag to enable IOMMU support 2017-11-07 14:19:11 +01:00
writing_efficient_code.rst doc: add use of mlockall to programmers guide 2017-10-10 00:41:08 +01:00