]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_service_component.h
service: restrict finalize to internal usage
[dpdk.git] / lib / librte_eal / common / include / rte_service_component.h
index 849c71d4a325c9b59646f2665f656eed00fd7280..f881ac0771134f773d0149ba125e225f08da837d 100644 (file)
@@ -139,4 +139,15 @@ int32_t rte_service_component_runstate_set(uint32_t id, uint32_t runstate);
  */
 int32_t rte_service_init(void);
 
+/**
+ * @warning
+ * @b EXPERIMENTAL: this API may change without prior notice
+ *
+ * @internal Free up the memory that has been initialized.
+ * This routine is to be invoked prior to process termination.
+ *
+ * @retval None
+ */
+void rte_service_finalize(void);
+
 #endif /* _RTE_SERVICE_PRIVATE_H_ */