In testpmd, when using "rx_vlan add 1 77", it will be a segment fault Because the port ID should be less than 32. Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Michael Qiu <michael.qiu@intel.com>