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

Function main

dpdk/examples/server_node_efd/efd_server/main.c:328–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328int
329main(int argc, char *argv[])
330{
331 /* initialise the system */
332 if (init(argc, argv) < 0)
333 return -1;
334 RTE_LOG(INFO, APP, "Finished Process Init.\n");
335
336 cl_rx_buf = calloc(num_nodes, sizeof(cl_rx_buf[0]));
337
338 /* clear statistics */
339 clear_stats();
340
341 /* put all other cores to sleep except main */
342 rte_eal_mp_remote_launch(sleep_lcore, NULL, SKIP_MAIN);
343
344 do_packet_forwarding();
345
346 /* clean up the EAL */
347 rte_eal_cleanup();
348
349 return 0;
350}

Callers

nothing calls this directly

Calls 6

callocFunction · 0.85
rte_eal_mp_remote_launchFunction · 0.85
initFunction · 0.70
clear_statsFunction · 0.70
do_packet_forwardingFunction · 0.70
rte_eal_cleanupFunction · 0.50

Tested by

no test coverage detected