[dpdk-dev] [PATCH v5] app/testpmd: fix port_numa and ring_numa not initialize issue

Wu, Jingjing jingjing.wu at intel.com
Sat May 6 02:52:16 CEST 2017



> -----Original Message-----
> From: Pei, Yulong
> Sent: Wednesday, May 3, 2017 6:30 PM
> To: dev at dpdk.org
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; thomas at monjalon.net
> Subject: [PATCH v5] app/testpmd: fix port_numa and ring_numa not initialize
> issue
> 
> Previous numa_support = 0 by default, it need to add --numa to testpmd
> command line to enable numa, so port_numa and ring_numa were initialized at
> function launch_args_parse(), now testpmd change numa_support = 1 as default,
> so port_numa and ring_numa also need to initialize by default, otherwise port-
> >socket_id will be probed to wrong value.
> 
> Fixes: 999b2ee0fe45 ("app/testpmd: enable NUMA support by default")
> 
> Signed-off-by: Yulong Pei <yulong.pei at intel.com>
Acked-by: Jingjing Wu <jingjing.wu at intel.com>


More information about the dev mailing list