[PATCH v5 00/25] add the basic rte_flow offload support of nfp PMD
Chaoyong He
chaoyong.he at corigine.com
Thu Oct 20 04:19:26 CEST 2022
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 v4
- Store the hash_key to avoid the uncessary repeat calculation.
- Make sure '.validate' don't update 'flower_version'.
- Guarante 'query' is zeroed out.
- Use the 'rest' field of query action to decide if reset the stats.
- Modify the 'nfp.ini' document.
* Changes since v3
- 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 CPP bridge service requirement
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 | 30 +
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 | 13 +-
drivers/net/nfp/nfp_flow.c | 2295 +++++++++++++++++++++++
drivers/net/nfp/nfp_flow.h | 176 ++
12 files changed, 3000 insertions(+), 14 deletions(-)
create mode 100644 drivers/net/nfp/nfp_flow.c
create mode 100644 drivers/net/nfp/nfp_flow.h
--
1.8.3.1
More information about the dev
mailing list