From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 68D595688 for ; Wed, 2 Sep 2015 13:11:35 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 02 Sep 2015 04:11:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,453,1437462000"; d="scan'208";a="760757288" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga001.jf.intel.com with ESMTP; 02 Sep 2015 04:11:30 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.12]) by IRSMSX109.ger.corp.intel.com ([169.254.13.183]) with mapi id 14.03.0224.002; Wed, 2 Sep 2015 12:09:21 +0100 From: "De Lara Guarch, Pablo" To: Stephen Hurd , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count Thread-Index: AQHQ27i1YacrJONqxkm3H1tvNOM6gJ4pKBhQ Date: Wed, 2 Sep 2015 11:09:20 +0000 Message-ID: References: <1440123921-59551-1-git-send-email-shurd@broadcom.com> In-Reply-To: <1440123921-59551-1-git-send-email-shurd@broadcom.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count 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, 02 Sep 2015 11:11:35 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Stephen Hurd > Sent: Friday, August 21, 2015 3:25 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count >=20 > Currently, there is a MAX_SOCKET macro which artificially limits the > number of NUMA sockets testpmd can use. Anything on a higher socket > ends up using socket zero. This patch replaces this with a variable > set during set_default_fwd_lcores_config() and uses > RTE_MAX_NUMA_NODES > where a hard-coded max number of sockets is required. >=20 > Signed-off-by: Stephen Hurd Acked-by: Pablo de Lara