From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test-pmd: Detect NUMA socket count Date: Sat, 24 Oct 2015 22:20:49 +0200 Message-ID: <41317554.bGsd9YbfWf@xps13> References: <1440123921-59551-1-git-send-email-shurd@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Stephen Hurd Return-path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 5FA6A593A for ; Sat, 24 Oct 2015 22:22:16 +0200 (CEST) Received: by wicll6 with SMTP id ll6so69078338wic.0 for ; Sat, 24 Oct 2015 13:22:16 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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. > > > > Signed-off-by: Stephen Hurd > > Acked-by: Pablo de Lara Applied, thanks