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

2014-04-30 Thread Thomas Monjalon
2014-04-15 15:51, David Marchand: > From: Liu Xiaofeng > > 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-conf

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

2014-04-15 Thread David Marchand
From: Liu Xiaofeng 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 use