> -----Original Message----- > From: Pei, Yulong > Sent: Monday, April 24, 2017 3:16 PM > To: dev@dpdk.org > Cc: Richardson, Bruce <bruce.richard...@intel.com>; Wu, Jingjing > <jingjing...@intel.com>; tho...@monjalon.net; Pei, Yulong > <yulong....@intel.com> > Subject: [PATCH] app/testpmd: initalize port_numa and ring_numa > > 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 initalized at > function launch_args_parse(), now testpmd change numa_support = 1 as > default, so port_numa and ring_numa also need to initalize by default, > otherwise port->socket_id will be probed to wrong value. > > Signed-off-by: Yulong Pei <yulong....@intel.com>
Thanks! Patch is fine. Could you add Fixes line for this patch? I think should be this commit? commit 999b2ee0fe4511c44462b29566f264e8d9326e1b Author: Bruce Richardson <bruce.richard...@intel.com> Date: Fri Mar 24 17:00:38 2017 +0000 app/testpmd: enable NUMA support by default There is little reason for NUMA support in testpmd to be off by default, so enable it, and add in a new commandline parameter to disable it, if that is wanted by users. Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>