[dpdk-dev] [PATCH v2] testpmd: fix a bug in tx_vlan set command support

2015-12-22 Thread Wang Xiao W
Now in cmd_tx_vlan_set_parsed function, we check the vlan_offload capability first, if it's an invalid port_id we'll get a strange prompt saying "Error, as QinQ has been enabled.". We should always make sure that we get a valid port_id first before we check other information. It's the same problem

[dpdk-dev] [PATCH v2] testpmd: fix a bug in tx_vlan set command support

2015-12-22 Thread Wang Xiao W
v2: * Removed the bug fix unrelated code change to make this patch a pure bug fix patch. * Fixed the "PATCH 1/2" mistake in the patch title, rewrote the subject. v1: * Initial version for tx_vlan set command support bug fix. Wang Xiao W (1): testpmd: fix a bug in tx_vlan set command support