From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2018 00:44:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,330,1520924400"; d="scan'208";a="50945610" Received: from apharney-mobl1.ger.corp.intel.com (HELO [10.252.26.14]) ([10.252.26.14]) by orsmga001.jf.intel.com with ESMTP; 26 Apr 2018 00:44:05 -0700 To: Stephen Hemminger Cc: dev@dpdk.org, Stephen Hemminger References: <20180426004839.4097-1-sthemmin@microsoft.com> From: "Burakov, Anatoly" Message-ID: <442b5582-a593-bf6a-67a8-36109094088d@intel.com> Date: Thu, 26 Apr 2018 08:44:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180426004839.4097-1-sthemmin@microsoft.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] eal: shut up warning about master 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: , X-List-Received-Date: Thu, 26 Apr 2018 07:44:09 -0000 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