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 C6C04A04DB; Fri, 16 Oct 2020 01:04:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C7F2C1E89B; Fri, 16 Oct 2020 00:58:26 +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 5EDFC1E555 for ; Fri, 16 Oct 2020 00:58:12 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id d6so172972plo.13 for ; Thu, 15 Oct 2020 15:58:12 -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=mHMLEMPA17XjDk0S21bga3pzoGnXnDkeea/2D/X5wDakgkqcDCMtW88aPZTvAnmecv AkDAEGlEXkaa6JceNmuGFBvwuzyHhVnEztqBAvQiUwgfu0RqqgDNp2zXT2I2p+T2CAs2 hwM2WV32nseOcDmmTlNWruaYAztKB9vN8x9xUEJyT/0JXnRkzmlbnr5Dgt3XwYSCpFR4 eLPhENlXakviIkJNuJktaHKyuS6Vg8E/qq4kM3EpNVUoB03RcSU+VI918M1SJdgZxUxQ pUd8jvA2zn9NBJAYzaUdLwxtC+H8REIGaYk03Omkwmg371ph8Cf8xmlbpY1Dn/tiNz2v vMHg== 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=nC+Fh91ZEYbX4GXnRdhBzvYe0BAu9VcJhKbZgi4KVC6OqSyyfWh0DzSmjEpBROdk2T b4JyRrYDri+ADvfLvowfdw/wDPVJWRfN6gucyTd0Pabqoagc81Pl7K7/OBy9j5SXXJod ELGwJCxkcBIrw5M0Wbl89Df79NMlvN/JAMgYDE9m3gQ4XW1pqlfOWpMK8nJpowiV8i9r R6N2xmU+5scLbqGmO7P8DuHGR7Q/X1N23S4j4pqWz9RwE4g7d2Q2GIkEAdfv0+T6zeED ZpeSASfbLisb/MFIiNc43+sCiATjj6XcH8KDyWXh65GclOpaK59hfApyI2WtuzdOKiEe 5LOg== X-Gm-Message-State: AOAM530gg4vPCIgTbj9+r1fMP/n6COUREXJTGKSagrIEnXoqbKaoPJsz uLWXSS4tj+hEkHuIy7vTNwqo3NcqqqI+yA== X-Google-Smtp-Source: ABdhPJxxN1F9Qe83esxtInoyIy7c4mTfQJ4je3/9g0yYnR7pACxmxogojbtZ27JLyML4lhvyaUjhrg== X-Received: by 2002:a17:902:684b:b029:d5:a3a0:3b47 with SMTP id f11-20020a170902684bb02900d5a3a03b47mr965033pln.76.1602802690219; Thu, 15 Oct 2020 15:58:10 -0700 (PDT) Received: from hermes.corp.microsoft.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id x4sm324055pfm.86.2020.10.15.15.58.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:58:09 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Thu, 15 Oct 2020 15:57:33 -0700 Message-Id: <20201015225736.12167-18-stephen@networkplumber.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201015225736.12167-1-stephen@networkplumber.org> References: <20200911190701.29171-1-stephen@networkplumber.org> <20201015225736.12167-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v7 17/20] 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