This patchset adds support for MPLSoGRE and MPLSoUDP tunnel filters. I40e NICs can't recongnize MPLS tunnel packets by default, so need to load a profile to FW first, then MPLS tunnel packets can be recongnized with packet type 61 and 63. It depends on pipeline personalization profile support and changes of tunnel filter function.
Beilei Xing (3): app/testpmd: add support for MPLS and GRE items net/i40e: add MPLS parsing function net/i40e: enable tunnel filter for MPLS app/test-pmd/cmdline_flow.c | 46 +++++ app/test-pmd/config.c | 2 + doc/guides/prog_guide/rte_flow.rst | 20 +- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 + drivers/net/i40e/i40e_ethdev.c | 45 +++- drivers/net/i40e/i40e_ethdev.h | 12 ++ drivers/net/i40e/i40e_flow.c | 307 ++++++++++++++++++++++++++++ lib/librte_ether/rte_flow.h | 45 ++++ 8 files changed, 478 insertions(+), 7 deletions(-) -- 2.5.5