[dpdk-dev] [PATCH v4] testpmd: fix wrong prompt in tx_vlan set command handler

2016-03-05 Thread Thomas Monjalon
> > When using testpmd, sometimes we forget the right order of port_id and > > vid in "tx_vlan set (port_id) vlan_id[, vlan_id_outer]\n" command, and > > input "tx_vlan set 51 0", we'll get a strange prompt saying "Error, as > > QinQ has been enabled.". > > > > In cmd_tx_vlan_set_parsed function,

[dpdk-dev] [PATCH v4] testpmd: fix wrong prompt in tx_vlan set command handler

2016-02-05 Thread Wang Xiao W
When using testpmd, sometimes we forget the right order of port_id and vid in "tx_vlan set (port_id) vlan_id[, vlan_id_outer]\n" command, and input "tx_vlan set 51 0", we'll get a strange prompt saying "Error, as QinQ has been enabled.". In cmd_tx_vlan_set_parsed function, the first thing we do is

[dpdk-dev] [PATCH v4] testpmd: fix wrong prompt in tx_vlan set command handler

2016-02-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wang Xiao W > Sent: Friday, February 05, 2016 4:50 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4] testpmd: fix wrong prompt in tx_vlan set > command handler > > When usi