Liu Xiaofeng 20a0286fd2 app/testpmd: check socket id validity
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@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2014-04-30 14:23:09 +02:00
2014-04-30 14:23:09 +02:00
2014-04-10 16:16:57 +02:00
2014-04-30 11:31:22 +02:00
2014-03-20 17:50:51 +01:00
2013-03-07 10:57:42 +01:00
2014-02-25 21:29:18 +01:00
2013-07-25 14:43:06 +02:00
2014-02-25 21:29:18 +01:00
Description
No description provided
128 MiB
Languages
C 99.1%
Meson 0.5%
Python 0.2%
Shell 0.1%