Support IAVF L2TPv2(include PPP over L2tpv2) RSS hash and flow director. Required to distribute packets based on outer MAC src address and L2TPv2 session ID.
Support IAVF PPPoL2TPv2oUDP flow director. Required to distribute packets based on inner IP src+dest address and TCP/UDP src+dest port. --- v4: * update new macros in ethdev. * update commit log. * rebase the main branch code. v3: * update new macros in ethdev. * update commit log. * rebase the main branch code. v2: * upadte release notes. * add comment for RTE_ETH_RSS_L2TPV2. * update ipv6 l2tpv2 flow item. * rebase the main branch code. Jie Wang (6): ethdev: add L2TPv2 RSS offload type net: fix L2TPv2 common header app/testpmd: add 6 types of L2TPv2 message common/iavf: add session ID fields for L2TPv2 net/iavf: support L2TPv2 for AVF HASH net/iavf: support L2TPv2 for AVF FDIR app/test-pmd/cmdline.c | 10 +- app/test-pmd/cmdline_flow.c | 313 +++++++++++++++++++++---- app/test-pmd/config.c | 3 +- doc/guides/rel_notes/release_22_03.rst | 15 ++ drivers/common/iavf/virtchnl.h | 4 + drivers/net/iavf/iavf.h | 2 + drivers/net/iavf/iavf_fdir.c | 174 +++++++++++--- drivers/net/iavf/iavf_generic_flow.c | 34 +++ drivers/net/iavf/iavf_generic_flow.h | 10 + drivers/net/iavf/iavf_hash.c | 83 ++++++- lib/ethdev/rte_ethdev.h | 6 + lib/net/rte_l2tpv2.h | 33 ++- 12 files changed, 589 insertions(+), 98 deletions(-) -- 2.25.1