Flower flow merging
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | nfp: flower: turn on recirc and merge hint support in firmwaredrivers/ drivers/ drivers/ +1 more | +25 | 0 replies | |
| 2/11 | nfp: flower: allow offloading of matches on 'internal' portsdrivers/ drivers/ drivers/ +2 more | +153 | 0 replies | |
| 3/11 | nfp: allow fallback packets from non-reprsdrivers/ drivers/ drivers/ +3 more | +30 | 0 replies | |
| 4/11 | nfp: flower: support fallback packets from internal portsdrivers/ | +24 | 0 replies | |
| 5/11 | nfp: flower: allow tunnels to output to internal portdrivers/ | +4 | 0 replies | |
| 6/11 | nfp: flower: get flows by host contextdrivers/ drivers/ | +89 | 0 replies | |
| 7/11 | nfp: flower: handle merge hint messagesdrivers/ drivers/ drivers/ +1 more | +78 | 0 replies | |
| 8/11 | nfp: flower: validate merge hint flowsdrivers/ | +228 | 0 replies | |
| 9/11 | nfp: flower: generate merge flow ruledrivers/ drivers/ | +150 | 0 replies | |
| 10/11 | nfp: flower: support stats update for merge flowsdrivers/ drivers/ | +117 | 0 replies | |
| 11/11 | nfp: flower: offload merge flowsdrivers/ drivers/ drivers/ +1 more | +126 | 0 replies |
Reviews trailers per patch
1 of 11 patches has a Reviewed-by or Acked-by.
| Patch | Jakub Kicinski |
|---|---|
| 1/11 | |
| 2/11 | |
| 3/11 | A-b |
| 4/11 | |
| 5/11 | |
| 6/11 | |
| 7/11 | |
| 8/11 | |
| 9/11 | |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 00/11] Flower flow merging
John Hurley says,
These patches deal with 'implicit recirculation' on the NFP. This is a firmware feature whereby a packet egresses to an 'internal' port meaning that it will recirculate back to the header extract phase with the 'internal' port now marked as its ingress port. This internal port can then be matched on by another rule. This process simulates how OvS datapath outputs to an internal port. The FW traces the packet's recirculation route and sends a 'merge hint' to the driver telling it which flows it matched against. The driver can then decide if these flows can be merged to a single rule and offloaded.
The patches deal with the following issues:
- assigning/freeing IDs to/from each of these new internal ports
- offloading rules that match on internal ports
- offloading neighbour table entries whose egress port is internal
- handling fallback traffic with an internal port as ingress
- using merge hints to create 'faster path' flows and tracking stats etc.
John Hurley (11):
nfp: flower: turn on recirc and merge hint support in firmware
nfp: flower: allow offloading of matches on 'internal' ports
nfp: allow fallback packets from non-reprs
nfp: flower: support fallback packets from internal ports
nfp: flower: allow tunnels to output to internal port
nfp: flower: get flows by host context
nfp: flower: handle merge hint messages
nfp: flower: validate merge hint flows
nfp: flower: generate merge flow rule
nfp: flower: support stats update for merge flows
nfp: flower: offload merge flows
drivers/net/ethernet/netronome/nfp/abm/main.c | 5 +- drivers/net/ethernet/netronome/nfp/flower/cmsg.c | 55 +- drivers/net/ethernet/netronome/nfp/flower/cmsg.h | 19 + drivers/net/ethernet/netronome/nfp/flower/main.c | 149 ++++- drivers/net/ethernet/netronome/nfp/flower/main.h | 69 +++ drivers/net/ethernet/netronome/nfp/flower/match.c | 9 +- .../net/ethernet/netronome/nfp/flower/metadata.c | 117 +++- .../net/ethernet/netronome/nfp/flower/offload.c | 606 ++++++++++++++++++++- .../ethernet/netronome/nfp/flower/tunnel_conf.c | 11 +- drivers/net/ethernet/netronome/nfp/nfp_app.h | 13 +- .../net/ethernet/netronome/nfp/nfp_net_common.c | 16 +- 11 files changed, 1016 insertions(+), 53 deletions(-)
Signature · 1 line
2.11.0