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 5721e6447b5c20208a32c919a509e89d78c3e68d Author: Robin Jarry <robin.jarry at 6wind.com> Date: Thu Mar 3 15:27:40 2016 +0100 mlx4: ensure number of RX queues is a power of 2 v4: - Updated the doc of testpmd guide. 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 ++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 +---- 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 ++++ 12 files changed, 177 insertions(+), 42 deletions(-) -- 2.5.0