1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2014 Intel Corporation
11 #include <sys/queue.h>
17 #include <rte_common.h>
18 #include <rte_byteorder.h>
20 #include <rte_memory.h>
21 #include <rte_memcpy.h>
23 #include <rte_launch.h>
24 #include <rte_atomic.h>
25 #include <rte_cycles.h>
26 #include <rte_prefetch.h>
27 #include <rte_lcore.h>
28 #include <rte_per_lcore.h>
29 #include <rte_branch_prediction.h>
30 #include <rte_interrupts.h>
31 #include <rte_random.h>
32 #include <rte_debug.h>
33 #include <rte_ether.h>
34 #include <rte_ethdev.h>
35 #include <rte_mempool.h>
44 main(int argc, char **argv)
50 ret = rte_eal_init(argc, argv);
56 /* Parse application arguments (after the EAL ones) */
57 ret = app_parse_args(argc, argv);
67 /* Launch per-lcore init on every lcore */
68 rte_eal_mp_remote_launch(app_lcore_main_loop, NULL, CALL_MASTER);
69 RTE_LCORE_FOREACH_SLAVE(lcore) {
70 if (rte_eal_wait_lcore(lcore) < 0) {