From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: shut up warning about master lcore Date: Thu, 26 Apr 2018 17:41:34 +0200 Message-ID: <2061996.ruHfFoTWGj@xps> References: <20180426004839.4097-1-sthemmin@microsoft.com> <442b5582-a593-bf6a-67a8-36109094088d@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" , Stephen Hemminger To: Stephen Hemminger Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 4233E8D35 for ; Thu, 26 Apr 2018 17:41:37 +0200 (CEST) In-Reply-To: <442b5582-a593-bf6a-67a8-36109094088d@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 26/04/2018 09:44, Burakov, Anatoly: > On 26-Apr-18 1:48 AM, Stephen Hemminger wrote: > > This message looks suspicious and seen on healthy testpmd. > > EAL: WARNING: Master core has no memory on local socket! > > > > The message is wrong: the master lcore is 0 and its socket is 0 > > and there are multiple available memory segments on socket 0. > > > > At that point in the startup process, the count value is zero, > > meaning they are not used yet so the check_socket gets confused. > > > > Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") > > Signed-off-by: Stephen Hemminger > > --- > > Was aware of this and going to fix it myself, but higher priority items > popped up. Thanks for fixing this! > > Acked-by: Anatoly Burakov Applied, thanks