From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Burakov, Anatoly" Subject: Re: [PATCH] eal: shut up warning about master lcore Date: Thu, 26 Apr 2018 08:44:03 +0100 Message-ID: <442b5582-a593-bf6a-67a8-36109094088d@intel.com> References: <20180426004839.4097-1-sthemmin@microsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, Stephen Hemminger To: Stephen Hemminger Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id E7D7B69F7 for ; Thu, 26 Apr 2018 09:44:08 +0200 (CEST) In-Reply-To: <20180426004839.4097-1-sthemmin@microsoft.com> Content-Language: en-US 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 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 -- Thanks, Anatoly