[dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Sep 2 13:09:20 CEST 2015



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hurd
> Sent: Friday, August 21, 2015 3:25 AM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] app/test-pmd: Detect NUMA socket count
> 
> 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 <shurd at broadcom.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>


More information about the dev mailing list