mbox series

[v3,0/6] support L2TPv2 for AVF RSS hash and FDIR

Message ID 20220129062434.2455711-1-jie1x.wang@intel.com (mailing list archive)
Headers
Series support L2TPv2 for AVF RSS hash and FDIR |

Message

Jie Wang Jan. 29, 2022, 6:24 a.m. UTC
  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.

---
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                |   7 +
 lib/net/rte_l2tpv2.h                   |  33 ++-
 12 files changed, 590 insertions(+), 98 deletions(-)
  

Comments

Ferruh Yigit Feb. 1, 2022, 12:22 p.m. UTC | #1
On 1/29/2022 6:24 AM, Jie Wang wrote:
> 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.
> 
> ---
> 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
> 

Hi Jingjing, Beilei,

Can you please review the iavf patches, so we can proceed with the set?