[dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether type

2016-03-11 Thread Helin Zhang
In order to set ether type of VLAN for single VLAN, inner and outer VLAN, the VLAN type as an input parameter is added to 'rte_eth_dev_set_vlan_ether_type()'. In addition, corresponding changes in e1000, ixgbe and i40e are also added. Signed-off-by: Helin Zhang Acked-by: Wenzhuo Lu --- app/test

[dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether type

2016-03-11 Thread Thomas Monjalon
2016-03-11 14:17, Zhang, Helin: > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Friday, March 11, 2016 7:20 PM > > To: Panu Matilainen; Zhang, Helin > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-de

[dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether type

2016-03-11 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, March 11, 2016 7:20 PM > To: Panu Matilainen; Zhang, Helin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether > ty

[dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether type

2016-03-11 Thread Panu Matilainen
On 03/11/2016 10:49 AM, Helin Zhang wrote: > In order to set ether type of VLAN for single VLAN, inner > and outer VLAN, the VLAN type as an input parameter is added > to 'rte_eth_dev_set_vlan_ether_type()'. > In addition, corresponding changes in e1000, ixgbe and i40e > are also added. > > Signed-

[dpdk-dev] [PATCH v4 1/2] ethdev: add vlan type for setting ether type

2016-03-11 Thread Thomas Monjalon
2016-03-11 13:19, Panu Matilainen: > On 03/11/2016 10:49 AM, Helin Zhang wrote: > > -int rte_eth_dev_set_vlan_ether_type(uint8_t port_id, uint16_t tag_type); > > +int rte_eth_dev_set_vlan_ether_type(uint8_t port_id, > > + enum rte_vlan_type vlan_type, > > +