MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_exit

Function rte_exit

dpdk/lib/eal/common/eal_common_debug.c:31–48  ·  view source on GitHub ↗

* Like rte_panic this terminates the application. However, no traceback is * provided and no core-dump is generated. */

Source from the content-addressed store, hash-verified

29 * provided and no core-dump is generated.
30 */
31void
32rte_exit(int exit_code, const char *format, ...)
33{
34 va_list ap;
35
36 if (exit_code != 0)
37 RTE_LOG(CRIT, EAL, "Error - exiting with code: %d\n"
38 " Cause: ", exit_code);
39
40 va_start(ap, format);
41 rte_vlog(RTE_LOG_CRIT, RTE_LOGTYPE_EAL, format, ap);
42 va_end(ap);
43
44 if (rte_eal_cleanup() != 0 && rte_errno != EALREADY)
45 RTE_LOG(CRIT, EAL,
46 "EAL could not release all resources\n");
47 exit(exit_code);
48}

Callers 15

ff_ipc_initFunction · 0.85
init_lcore_confFunction · 0.85
init_mem_poolFunction · 0.85
create_ringFunction · 0.85
init_dispatch_ringFunction · 0.85
set_rss_tableFunction · 0.85
init_port_startFunction · 0.85
create_tcp_flowFunction · 0.85
init_flowFunction · 0.85
create_ipip_flowFunction · 0.85
ff_dpdk_initFunction · 0.85
ff_dpdk_if_upFunction · 0.85

Calls 2

rte_vlogFunction · 0.85
rte_eal_cleanupFunction · 0.50

Tested by 15

init_mbufpoolFunction · 0.68
test_pmd_perfFunction · 0.68
test_exit_valFunction · 0.68
mbuf_pool_createFunction · 0.68
init_configFunction · 0.68
init_fwd_streamsFunction · 0.68
start_packet_forwardingFunction · 0.68