From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8078BA04B7; Tue, 13 Oct 2020 17:33:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3F3D1DD84; Tue, 13 Oct 2020 17:27:51 +0200 (CEST) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 9E02D1DD7B for ; Tue, 13 Oct 2020 17:27:50 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id w11so3158759pll.8 for ; Tue, 13 Oct 2020 08:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=joc2wT+goL2xZrQkv2AC1HpfR7VCJX5lCymELiVWwsw=; b=OXbMPax6iXJ0Y3RS8TRcFyK137bV4/Yt1Vb7XR0lO6vfGUDCL2Mm9M10r2eFZHEIcH UNRD5MeGYUt4E1Kh2wKv/d2SNyXd75JSKFqqhlkc5a89UdCimunqqoaMXde3HVXIf2Eo 4PmgBrFWdAsQ0m94El0ZwxEeHy7YavvE6fxQEwBmwndkMSicPnP6vBk9wcMbdCyOzXJO 2xRmrZB0elj+vfCa2whVMS+gRepQ6gPCuBFFsX+Q2feN12Lm5ejEqqlc0dQenQ0VYvoM GEGUr73ymEy48vuoazz9PMNP53nbFYw/XhDwjke/z6GV+YFx4wqAGk8nfvJdyPPCKIQx T5nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=joc2wT+goL2xZrQkv2AC1HpfR7VCJX5lCymELiVWwsw=; b=trUCW31Q/65C/tlkGnGY8uUffh5Yj1S783na6lkV8tdpjXHQU/5IZ+H7Cb5L4Lz/HK Bgb43fofUumNDmd/N9EMXCpp90eRl3EGfRQX8onFkn+mlO+G5oR8nm2B2HaWXxtr3eNU ccWaoeNGXlEQETrQkyr4vK07HH/LC48b1fcEh196aQzy0vOSM4pbs+sFZe+adAxUpcZ2 xLzUDIagidt3uj0GgUQRHVENNPg2IrOsXy/DbM2v7O/5sVmKQvpbFNWM9uVmdWC5IpDZ Dk5uCnVbgIJJ+Tr1oKaTJkQSt9lcTVlw1fMivcP6Lp+Cocnrm6UWrSAUXUn8s5t+0uWa +6fg== X-Gm-Message-State: AOAM532VV8emz6ktlz6b9BCzWzZaG3oGzsAdD3DAJ7mwfW3K79s0ErMP lCKpplw7KcW6rK2VoQSsIuPl9Nx/CGA0cw== X-Google-Smtp-Source: ABdhPJzcVpCuV3W5bBwrSQ/T8dN9lGSUHtyH461HfFzZroNsN/0tfJW1vDnlMJol9ykRGVNmj2d8rQ== X-Received: by 2002:a17:90a:ee87:: with SMTP id i7mr251667pjz.25.1602602868050; Tue, 13 Oct 2020 08:27:48 -0700 (PDT) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z12sm23815233pfr.197.2020.10.13.08.27.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Oct 2020 08:27:46 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Cristian Dumitrescu Date: Tue, 13 Oct 2020 08:26:09 -0700 Message-Id: <20201013152610.2589-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201013152610.2589-1-stephen@networkplumber.org> References: <20200914182002.6750-1-stephen@networkplumber.org> <20201013152610.2589-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 17/18] examples/pipeline: fix master/slave usage X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Replace SKIP_MASTER with SKIP_MAIN and FOREACH_SLAVE with FOREACH_WORKER. Signed-off-by: Stephen Hemminger --- 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