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

Function main

dpdk/app/test-acl/main.c:1307–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1305}
1306
1307int
1308main(int argc, char **argv)
1309{
1310 int ret;
1311 uint32_t lcore;
1312
1313 ret = rte_eal_init(argc, argv);
1314 if (ret < 0)
1315 rte_panic("Cannot init EAL\n");
1316
1317 argc -= ret;
1318 argv += ret;
1319
1320 config.prgname = argv[0];
1321
1322 get_input_opts(argc, argv);
1323 dump_config(stdout);
1324 check_config();
1325
1326 acx_init();
1327
1328 if (config.trace_file != NULL)
1329 tracef_init();
1330
1331 RTE_LCORE_FOREACH_WORKER(lcore)
1332 rte_eal_remote_launch(search_ip5tuples, NULL, lcore);
1333
1334 search_ip5tuples(NULL);
1335
1336 rte_eal_mp_wait_lcore();
1337
1338 rte_acl_free(config.acx);
1339 return 0;
1340}

Callers

nothing calls this directly

Calls 9

get_input_optsFunction · 0.85
acx_initFunction · 0.85
tracef_initFunction · 0.85
search_ip5tuplesFunction · 0.85
rte_eal_mp_wait_lcoreFunction · 0.85
rte_acl_freeFunction · 0.85
dump_configFunction · 0.70
check_configFunction · 0.70
rte_eal_initFunction · 0.50

Tested by

no test coverage detected