Skip to content

nfp: flower: tunnel TTL & TOS, and Geneve options set & match support

Simon Horman netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6nfp: flower: set ip tunnel ttl from encap actiondrivers/net/ethernet/netronome/nfp/flower/action.c+21 -180 replies
2/6nfp: flower: allow matching on ipv4 UDP tunnel tos and ttldrivers/net/ethernet/netronome/nfp/flower/cmsg.h drivers/net/ethernet/netronome/nfp/flower/match.c drivers/net/ethernet/netronome/nfp/flower/offload.c+17 -32 replies
3/6flow_dissector: allow dissection of tunnel options from metadatainclude/net/flow_dissector.h net/core/flow_dissector.c+35 -10 replies
4/6net/sched: allow flower to match tunnel optionsinclude/uapi/linux/pkt_cls.h net/sched/cls_flower.c+269 -11 reply
5/6nfp: flower: add geneve option push action offloaddrivers/net/ethernet/netronome/nfp/flower/action.c drivers/net/ethernet/netronome/nfp/flower/cmsg.h drivers/net/ethernet/netronome/nfp/flower/main.h+114 -70 replies
6/6nfp: flower: add geneve option match offloaddrivers/net/ethernet/netronome/nfp/flower/cmsg.h drivers/net/ethernet/netronome/nfp/flower/match.c drivers/net/ethernet/netronome/nfp/flower/offload.c+69 -00 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchJakub Kicinski
1/6R-b
2/6R-b
3/6R-b
4/6A-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] nfp: flower: tunnel TTL & TOS, and Geneve options set & match support

Hi Dave,

this series contains updates for the TC Flower classifier and the offload facility for it in the NFP driver.

* Patches 1 & 2: update the NFP driver to allow offload
of matching and setting tunnel ToS/TTL of flows using the TC Flower classifier and tun_key action

* Patches 3 & 4: enhance the flow dissector and TC Flower classifier to allow match on Geneve options

* Patch 5 & 6: update the NFP driver to allow offload of matching and setting Geneve options of flows using the TC Flower classifier and tun_key action

John Hurley (2):
nfp: flower: set ip tunnel ttl from encap action
nfp: flower: allow matching on ipv4 UDP tunnel tos and ttl

Pieter Jansen van Vuuren (3):
net/sched: allow flower to match tunnel options
nfp: flower: add geneve option push action offload
nfp: flower: add geneve option match offload

Simon Horman (1):
flow_dissector: allow dissection of tunnel options from metadata

 drivers/net/ethernet/netronome/nfp/flower/action.c | 139 ++++++++++--
 drivers/net/ethernet/netronome/nfp/flower/cmsg.h   |  33 ++-
 drivers/net/ethernet/netronome/nfp/flower/main.h   |   1 +
 drivers/net/ethernet/netronome/nfp/flower/match.c  |  34 +++
 .../net/ethernet/netronome/nfp/flower/offload.c    |  42 +++-
 include/net/flow_dissector.h                       |  17 ++
 include/uapi/linux/pkt_cls.h                       |  26 +++
 net/core/flow_dissector.c                          |  19 +-
 net/sched/cls_flower.c                             | 244 ++++++++++++++++++++-
 9 files changed, 525 insertions(+), 30 deletions(-)
Signature · 1 line
2.11.0