diff options
Diffstat (limited to 'examples/l4fwd/main.c')
-rw-r--r-- | examples/l4fwd/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l4fwd/main.c b/examples/l4fwd/main.c index 57e9cfd..266228d 100644 --- a/examples/l4fwd/main.c +++ b/examples/l4fwd/main.c @@ -271,13 +271,13 @@ main(int argc, char *argv[]) sig_handle(SIGQUIT); /* launch all slave lcores. */ - RTE_LCORE_FOREACH_SLAVE(i) { + RTE_LCORE_FOREACH_WORKER(i) { if (prm[i].be.lc != NULL || prm[i].fe.max_streams != 0) rte_eal_remote_launch(lcore_main, prm + i, i); } /* launch master lcore. */ - i = rte_get_master_lcore(); + i = rte_get_main_lcore(); if (prm[i].be.lc != NULL || prm[i].fe.max_streams != 0) lcore_main(prm + i); |