Wenzhuo Lu dc0537e6d6 app/testpmd: fix check for invalid ports
Some CLIs don't check the input port ID, it
may cause segmentation fault (core dumped).

Fixes: 425781ff5afe ("app/testpmd: add ixgbe VF management")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
2017-01-17 16:40:05 +01:00
..
2017-01-11 16:52:20 +01:00
2017-01-15 19:16:48 +01:00
2017-01-15 19:16:48 +01:00
2017-01-15 19:16:48 +01:00
2017-01-15 19:16:48 +01:00