Replace SKIP_MASTER with SKIP_MAIN
and FOREACH_SLAVE with FOREACH_WORKER.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 examples/pipeline/main.c   | 2 +-
 examples/pipeline/thread.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/pipeline/main.c b/examples/pipeline/main.c
index 2303c9e46c78..fb57ef31fef5 100644
--- a/examples/pipeline/main.c
+++ b/examples/pipeline/main.c
@@ -166,7 +166,7 @@ main(int argc, char **argv)
        rte_eal_mp_remote_launch(
                thread_main,
                NULL,
-               SKIP_MASTER);
+               SKIP_MAIN);
 
        /* Script */
        if (app.script_name)
diff --git a/examples/pipeline/thread.c b/examples/pipeline/thread.c
index 7ff22e97f338..6ac27e4eb45d 100644
--- a/examples/pipeline/thread.c
+++ b/examples/pipeline/thread.c
@@ -93,7 +93,7 @@ thread_init(void)
 {
        uint32_t i;
 
-       RTE_LCORE_FOREACH_SLAVE(i) {
+       RTE_LCORE_FOREACH_WORKER(i) {
                char name[NAME_MAX];
                struct rte_ring *msgq_req, *msgq_rsp;
                struct thread *t = &thread[i];
-- 
2.27.0

Reply via email to