mbox

[v4,00/25] add the basic rte_flow offload support of nfp PMD

Message ID 1666092434-10357-1-git-send-email-chaoyong.he@corigine.com (mailing list archive)
Headers

Message

Chaoyong He Oct. 18, 2022, 11:26 a.m. UTC
  This is the second patch series to add the support of rte_flow offload for
nfp PMD, includes:
Implement the rte_flow related API
Implement the offload framework of nfp card
Add the offload support of common rte_flow pattern items
Add the offload support of common rte_flow actions

* Changes since v2
- Change the release note.
- Change the headline of commit message.
- Adjust the order of commits to prevent the memory problem.

* Changes since v2
- Fix one problem import by the first patch series

* Changes since v1
- Add the 'Depends-on' tag

Chaoyong He (25):
  net/nfp: fix the requirement of cpp bridge service
  net/nfp: add the structures and functions for flow offload
  net/nfp: add the stats process logic in ctrl VNIC service
  net/nfp: add the flow APIs of nfp PMD
  net/nfp: support basic flow items
  net/nfp: support basic flow actions
  net/nfp: support VLAN flow item
  net/nfp: support IPv4 flow item
  net/nfp: support IPv6 flow item
  net/nfp: support TCP flow item
  net/nfp: support UDP flow item
  net/nfp: support SCTP flow item
  net/nfp: support SRC MAC flow action
  net/nfp: support DST MAC flow action
  net/nfp: support pop VLAN flow action
  net/nfp: support push VLAN flow action
  net/nfp: support SRC IPv4 flow action
  net/nfp: support DST IPv4 flow action
  net/nfp: support SRC IPv6 flow action
  net/nfp: support DST IPv6 flow action
  net/nfp: support TP SRC flow action
  net/nfp: support TP DST flow action
  net/nfp: support TTL flow action
  net/nfp: support IPv4 DSCP flow action
  net/nfp: support IPv6 DSCP flow action

 doc/guides/nics/features/nfp.ini                |   31 +
 doc/guides/rel_notes/release_22_11.rst          |    2 +
 drivers/net/nfp/flower/nfp_flower.c             |   11 +-
 drivers/net/nfp/flower/nfp_flower.h             |    2 +
 drivers/net/nfp/flower/nfp_flower_cmsg.c        |   69 +
 drivers/net/nfp/flower/nfp_flower_cmsg.h        |  337 ++++
 drivers/net/nfp/flower/nfp_flower_ctrl.c        |   73 +-
 drivers/net/nfp/flower/nfp_flower_representor.c |    3 +
 drivers/net/nfp/meson.build                     |    3 +
 drivers/net/nfp/nfp_ethdev.c                    |    7 +-
 drivers/net/nfp/nfp_flow.c                      | 2294 +++++++++++++++++++++++
 drivers/net/nfp/nfp_flow.h                      |  175 ++
 12 files changed, 2997 insertions(+), 10 deletions(-)
 create mode 100644 drivers/net/nfp/nfp_flow.c
 create mode 100644 drivers/net/nfp/nfp_flow.h