[dpdk-dev] [PATCH v2] app/testpmd: check port is stopped for QinQ setup

Wu, Jingjing jingjing.wu at intel.com
Tue Apr 25 10:55:25 CEST 2017



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger
> Sent: Monday, April 24, 2017 6:25 PM
> To: dev at dpdk.org
> Cc: Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi <qi.zhang at intel.com>;
> Iremonger, Bernard <bernard.iremonger at intel.com>; stable at dpdk.org
> Subject: [dpdk-dev] [PATCH v2] app/testpmd: check port is stopped for QinQ
> setup
> 
> Check port is stopped before configuring it for QinQ, with the "vlan set qinq on
> <port_id>" command.
> 
> The above command sets the hw_vlan_extend flag.
> When the port is started it calls the
> i40e_rx_vec_dev_conf_condition_check_default function to decide whether or
> not to select the vector mode driver depending on the state of the
> hw_vlan_extend flag.
> 
The command vlan set qinq on <port_id> is an common command, but not only
For i40e. I think it's better to doc it somewhere instead of changing the default
Behavior of this command.



More information about the dev mailing list