Yong Liu 6ae9bee6c6 app/testpmd: fix reconfig flag for all ports
When port id is RTE_PORT_ALL, port_id_is_invalid will also return zero.
So this function will only set ports[255] need_reconfig flag, other ports will
be skipped.

Fixes: edab33b1c01d ("app/testpmd: support port hotplug")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
2015-03-21 00:21:56 +01:00
..
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2014-12-16 23:35:31 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00