ethdev: add vlan type when setting ether type
authorHelin Zhang <helin.zhang@intel.com>
Fri, 11 Mar 2016 16:50:57 +0000 (00:50 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 11 Mar 2016 21:21:06 +0000 (22:21 +0100)
commit19b16e2f64420b183cb51639544679eabfca3087
treeb1e6fb153d3729d93fb5104577d327a30de86585
parente2366e74e0295a8b21019dd871a10c77e9adb4b2
ethdev: add vlan type when setting ether type

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.

It is an ABI break but ethdev library is already bumped for 16.04.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h
doc/guides/rel_notes/release_16_04.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst
drivers/net/e1000/igb_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.c
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map