It adds setting ether type of both single VLAN(inner VLAN) and outer VLAN for i40e. For ixgbe and e1000/igb, it supports setting single VLAN(inner VLAN) only, and can be extended in the future.
The patch set was branched off rel_16_04 of repo dpdk-next-net, on below commit. - commit 4ac366ba647909c3b71818f9be9db86ba5e871da nfp: fix non-x86 build v2: - Used RTE_NEXT_ABI to avoid ABI change issue. - Reworked the announcement of ABI change for release 16.07. - Fixed a i40e overflow issue. Helin Zhang (3): ethdev: add vlan type for setting ether type i40e: add VLAN ether type config i40e: fix the overflow issue app/test-pmd/cmdline.c | 29 +++++++++---- app/test-pmd/config.c | 14 +++++-- app/test-pmd/testpmd.h | 3 +- doc/guides/rel_notes/deprecation.rst | 6 +++ doc/guides/rel_notes/release_16_04.rst | 4 ++ drivers/net/e1000/igb_ethdev.c | 26 ++++++++++-- drivers/net/i40e/i40e_ethdev.c | 75 ++++++++++++++++++++++++++++++++-- drivers/net/i40e/i40e_rxtx.c | 4 +- drivers/net/ixgbe/ixgbe_ethdev.c | 25 ++++++++++-- lib/librte_ether/rte_ethdev.c | 12 +++++- lib/librte_ether/rte_ethdev.h | 24 ++++++++++- 11 files changed, 193 insertions(+), 29 deletions(-) -- 2.5.0