]> git.droids-corp.org - dpdk.git/blobdiff - examples/helloworld/main.c
telemetry: fix missing header include
[dpdk.git] / examples / helloworld / main.c
index 968045f1b04232d0996a17e0915229e09ecb86e3..8a4cee60ff07418b8327b144f562fdaab19025bc 100644 (file)
@@ -34,12 +34,12 @@ main(int argc, char **argv)
        if (ret < 0)
                rte_panic("Cannot init EAL\n");
 
-       /* call lcore_hello() on every slave lcore */
-       RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+       /* call lcore_hello() on every worker lcore */
+       RTE_LCORE_FOREACH_WORKER(lcore_id) {
                rte_eal_remote_launch(lcore_hello, NULL, lcore_id);
        }
 
-       /* call it on master lcore too */
+       /* call it on main lcore too */
        lcore_hello(NULL);
 
        rte_eal_mp_wait_lcore();