| 1305 | } |
| 1306 | |
| 1307 | int |
| 1308 | main(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 | } |
nothing calls this directly
no test coverage detected