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 E0219A04C7; Mon, 14 Sep 2020 17:19:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C30F41C116; Mon, 14 Sep 2020 17:19:21 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9BF2F1C10D for ; Mon, 14 Sep 2020 17:19:20 +0200 (CEST) IronPort-SDR: 1Xm9j76opc6TcwaLJzYkMrSp8ktVCvRvikU5+RZKgU7tgcck1n2wJ8bARO6SD8PKSbJPQkEHiS QXNe08TiYr0A== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="160025563" X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="160025563" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 08:19:19 -0700 IronPort-SDR: AiLav0ttCj3oRiGoQZGWbzwaedThJuNiyiLYUzADEf/sb72STJjPEdXR1KXQz9TeceBz8UARU1 bHp15ABIC6LA== X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="482376503" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.251.82.108]) ([10.251.82.108]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 08:19:19 -0700 To: Stephen Hemminger , dev@dpdk.org References: <20200911190701.29171-1-stephen@networkplumber.org> <20200911190701.29171-15-stephen@networkplumber.org> From: "Burakov, Anatoly" Message-ID: Date: Mon, 14 Sep 2020 16:19:17 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200911190701.29171-15-stephen@networkplumber.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 14/15] examples/ipsec-secgw: replace master lcore with main lcore 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" On 11-Sep-20 8:07 PM, Stephen Hemminger wrote: > Simple replacement. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Anatoly Burakov With below fix > diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c > index 8ba15d23c7e8..49d8a93a12cc 100644 > --- a/examples/ipsec-secgw/ipsec-secgw.c > +++ b/examples/ipsec-secgw/ipsec-secgw.c > @@ -2992,7 +2992,7 @@ main(int32_t argc, char **argv) > #endif /* STATS_INTERVAL */ > > /* launch per-lcore init on every lcore */ > - rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MASTER); > + rte_eal_mp_remote_launch(ipsec_launch_one_lcore, eh_conf, CALL_MAIN); > RTE_LCORE_FOREACH_SLAVE(lcore_id) { Missed updating the macro. > if (rte_eal_wait_lcore(lcore_id) < 0) > return -1; > -- Thanks, Anatoly