From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp08.au.ibm.com (e23smtp08.au.ibm.com [202.81.31.141]) by dpdk.org (Postfix) with ESMTP id 947CF58D4 for ; Wed, 16 Sep 2015 04:03:40 +0200 (CEST) Received: from /spool/local by e23smtp08.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 16 Sep 2015 12:03:37 +1000 Received: from d23dlp03.au.ibm.com (202.81.31.214) by e23smtp08.au.ibm.com (202.81.31.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 16 Sep 2015 12:03:35 +1000 X-Helo: d23dlp03.au.ibm.com X-MailFrom: chaozhu@linux.vnet.ibm.com X-RcptTo: dev@dpdk.org Received: from d23relay08.au.ibm.com (d23relay08.au.ibm.com [9.185.71.33]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 9270C3578054 for ; Wed, 16 Sep 2015 12:03:33 +1000 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t8G23FDP1049044 for ; Wed, 16 Sep 2015 12:03:24 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t8G230o1002120 for ; Wed, 16 Sep 2015 12:03:00 +1000 Received: from [9.186.50.158] ([9.186.50.158]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t8G22xCP001696; Wed, 16 Sep 2015 12:02:59 +1000 Message-ID: <55F8CDC4.9040409@linux.vnet.ibm.com> Date: Wed, 16 Sep 2015 10:02:44 +0800 From: Chao Zhu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Bruce Richardson References: <1439554788-31037-1-git-send-email-chaozhu@linux.vnet.ibm.com> <55F7CCE9.8060807@linux.vnet.ibm.com> <20150915090122.GA27696@bricha3-MOBL3> In-Reply-To: <20150915090122.GA27696@bricha3-MOBL3> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15091602-0029-0000-0000-0000022DB275 Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Fwd: [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE machine X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2015 02:03:41 -0000 Actually, without this change, DPDK can't work properly on PPC64 little endian platform. It'll report "EAL: Not enough memory available! Requested: xxxMB, available: xxxMB" such kind of error. But for users, they don't know that changing the value of CONFIG_RTE_MAX_NUMA_NODES can fix this. That why I invoke this patch. On 2015/9/15 17:01, Bruce Richardson wrote: > On Tue, Sep 15, 2015 at 03:46:49PM +0800, Chao Zhu wrote: >> Any response of this patch? > Looks ok to me - pretty trivial change. > > /Bruce >> -------- Forwarded Message -------- >> Subject: [dpdk-dev] [PATCH] PPC: Fix NUMA node numbering on IBM POWER8 LE >> machine >> Date: Fri, 14 Aug 2015 20:19:48 +0800 >> From: Chao Zhu >> To: dev@dpdk.org >> >> >> >> When Linux is running on bare metal, it gets the raw hardware >> information. On POWER8 little endian bare metal machine, the node number >> is not continuous. It will jump from 0 to other values, for example, it >> can be 0, 1, 16, 17. This patch modified the CONFIG_RTE_MAX_NUMA_NODES >> value to make dpdk work on POWER8 bare metal little endian machine. >> >> Signed-off-by: Chao Zhu >> --- >> config/common_linuxapp | 2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/config/common_linuxapp b/config/common_linuxapp >> index 0de43d5..82a027e 100644 >> --- a/config/common_linuxapp >> +++ b/config/common_linuxapp >> @@ -98,7 +98,7 @@ CONFIG_RTE_NEXT_ABI=y >> # >> CONFIG_RTE_LIBRTE_EAL=y >> CONFIG_RTE_MAX_LCORE=128 >> -CONFIG_RTE_MAX_NUMA_NODES=8 >> +CONFIG_RTE_MAX_NUMA_NODES=32 >> CONFIG_RTE_MAX_MEMSEG=256 >> CONFIG_RTE_MAX_MEMZONE=2560 >> CONFIG_RTE_MAX_TAILQ=32 >> -- >> 1.7.1 >> >> >>