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 D46AFA04C7; Mon, 14 Sep 2020 17:04:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5F261C0C0; Mon, 14 Sep 2020 17:04:44 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5FC5D1BFC4 for ; Mon, 14 Sep 2020 17:04:43 +0200 (CEST) IronPort-SDR: B41M6RlUv75qnA/CdSqQ4MHK0FD40e0Ftc37vQF20MrWOh1IJ7KRuyEGITgCW9p9bJyyqydf1M 6+AnKwLd6UBw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146779958" X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="146779958" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2020 08:04:41 -0700 IronPort-SDR: BDqt2oAKlxA9t+ykL+JBrvBiGXP/mVHTX4mhlGLVml2QpcC02aFOp1CiPWxWeub/LYnihqYtt5 J4mNrnmyD43g== X-IronPort-AV: E=Sophos;i="5.76,426,1592895600"; d="scan'208";a="482371432" 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:04:40 -0700 To: Stephen Hemminger , dev@dpdk.org References: <20200911190701.29171-1-stephen@networkplumber.org> <20200911190701.29171-8-stephen@networkplumber.org> From: "Burakov, Anatoly" Message-ID: <395bab9c-860a-3e01-8d5b-ee6d75ece863@intel.com> Date: Mon, 14 Sep 2020 16:04:39 +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-8-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 07/15] app/test-pmd: 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:06 PM, Stephen Hemminger wrote: > Replace wording around main lcore. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Anatoly Burakov With below fix > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 7842c3b78120..65c99b6900ae 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -556,7 +556,7 @@ set_default_fwd_lcores_config(void) > } > socket_ids[num_sockets++] = sock_num; > } > - if (i == rte_get_master_lcore()) > + if (i == rte_get_main_lcore()) > continue; Missed comment in this file @ line 86. > fwd_lcores_cpuids[nb_lc++] = i; > } > -- Thanks, Anatoly