29/01/2018 17:37, Harry van Haaren:
> @@ -79,6 +80,10 @@ rte_exit(int exit_code, const char *format, ...)
> va_end(ap);
>
> #ifndef RTE_EAL_ALWAYS_PANIC_ON_ERROR
> + int ret = rte_eal_cleanup();
You should not declare a variable in the middle of the function.
Will fix on apply.
> +
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 ap
2 matches
Mail list logo