From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by dpdk.org (Postfix) with ESMTP id 4C3F78D99 for ; Fri, 14 Aug 2015 14:18:36 +0200 (CEST) Received: from /spool/local by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 14 Aug 2015 22:18:34 +1000 Received: from d23dlp03.au.ibm.com (202.81.31.214) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 14 Aug 2015 22:18:32 +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 15AFA3578055 for ; Fri, 14 Aug 2015 22:18:32 +1000 (EST) Received: from d23av01.au.ibm.com (d23av01.au.ibm.com [9.190.234.96]) by d23relay08.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7ECIHPc26607838 for ; Fri, 14 Aug 2015 22:18:26 +1000 Received: from d23av01.au.ibm.com (localhost [127.0.0.1]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7ECHxh6024178 for ; Fri, 14 Aug 2015 22:17:59 +1000 Received: from os_controller.crl.ibm.com ([9.186.57.26]) by d23av01.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t7ECHwDc023960 for ; Fri, 14 Aug 2015 22:17:58 +1000 From: Chao Zhu To: dev@dpdk.org Date: Fri, 14 Aug 2015 20:19:48 +0800 Message-Id: <1439554788-31037-1-git-send-email-chaozhu@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15081412-0005-0000-0000-0000024D43E8 Subject: [dpdk-dev] [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: Fri, 14 Aug 2015 12:18:37 -0000 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