Replace SKIP_MASTER with SKIP_MAIN
and FOREACH_SLAVE with FOREACH_WORKER.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
examples/pipeline/main.c | 2 +-
examples/pipeline/thread.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -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)
@@ -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];