This patch set adds the support of E-tag offloading and forwarding on X550. The offloading means E-tag can be inserted and stripped by HW. And E-tag packets can be recognized and forwarded to specific pools based on GRP and E-CID_base in E-tag.
E-tag is defined in IEEE802.1br. Please reference http://www.ieee802.org/1/pages/802.1br.html. V2: * Add the introduction for E-tag. V3: * Add the hlep info for the new CLIs. * Update the doc for testpmd. * Update the E-tag insertion setting. Should insert different tunnel id for every VF, not a common one for all. V4: * Fix strippig is not working issue. * Update the filter adding function. Make sure there's only one filter entry for one tunnel entry. * Update the release note to add some info about how to use this feature. Wenzhuo Lu (7): ixgbe: select pool by MAC when using double VLAN lib/librte_ether: support l2 tunnel config ixgbe: support l2 tunnel config app/testpmd: add CLIs for l2 tunnel config lib/librte_ether: support new l2 tunnel operation ixgbe: support l2 tunnel operation app/testpmd: add CLIs for E-tag operation app/test-pmd/cmdline.c | 647 +++++++++++++++++++++++++++- doc/guides/rel_notes/release_16_04.rst | 21 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 37 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 521 ++++++++++++++++++++++ lib/librte_ether/rte_eth_ctrl.h | 9 + lib/librte_ether/rte_ethdev.c | 244 +++++++++++ lib/librte_ether/rte_ethdev.h | 298 +++++++++++++ 7 files changed, 1776 insertions(+), 1 deletion(-) -- 1.9.3