[dpdk-dev] [PATCH] app/testpmd: check socket id validity

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Apr 30 14:24:28 CEST 2014


2014-04-15 15:51, David Marchand:
> From: Liu Xiaofeng <xiaofeng.liu at 6wind.com>
> 
> Now socket id is from device's numa_node, if it is invalid, just set it to 0
> as default to avoid crash which will be caused by the reference to
> port_per_socket[socket_id].
> 
> Also one warning is displayed to user that port-numa-config and
> ring-numa-config parameters should be used along with --numa for NUMA mode.
> 
> A check for NUMA_NO_CONFIG was also missing from init_fwd_stream().
> 
> Signed-off-by: Liu Xiaofeng <xiaofeng.liu at 6wind.com>

Acked-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Applied for version 1.6.0r2.

Thanks
-- 
Thomas


More information about the dev mailing list