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 5cfa5d194a8a45176e70af05719f7e3b136868be Author: Zhe Tao <zhe.tao at intel.com> Date: Thu Mar 10 15:26:22 2016 +0000 ixgbe: fix ixgbevf RX/TX function assignment v3: - Used versioning mechanism to avoid ABI issue. - re-organized the patch set. 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 (2): ethdev: add vlan type for setting ether type i40e: fix the overflow issue app/test-pmd/cmdline.c | 30 +++++++++++----- app/test-pmd/config.c | 9 ++--- app/test-pmd/testpmd.h | 3 +- doc/guides/rel_notes/release_16_04.rst | 4 +++ drivers/net/e1000/igb_ethdev.c | 21 +++++++++--- drivers/net/i40e/i40e_ethdev.c | 63 +++++++++++++++++++++++++++++++--- drivers/net/i40e/i40e_rxtx.c | 4 +-- drivers/net/ixgbe/ixgbe_ethdev.c | 19 +++++++--- lib/librte_ether/rte_ethdev.c | 25 ++++++++++++-- lib/librte_ether/rte_ethdev.h | 23 +++++++++++-- lib/librte_ether/rte_ether_version.map | 7 ++++ 11 files changed, 175 insertions(+), 33 deletions(-) -- 2.5.0