Skip to content

flow_offload: add tc vlan push_eth and pop_eth actions

Roi Dayan netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied 3/3
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- wrap vlan push_eth related members into struct.
- merge two helpers into one.

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net/sched: add vlan push_eth and pop_eth action to the hardware IRinclude/net/flow_offload.h include/net/tc_act/tc_vlan.h net/sched/act_vlan.c+29 -01 replyApplied
2/3net/mlx5e: MPLSoUDP decap, use vlan push_eth instead of peditdrivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c +8 more+43 -700 repliesApplied
3/3net/mlx5e: MPLSoUDP encap, support action vlan pop_eth explicitlydrivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.h drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/mirred.c +1 more+10 -00 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRoi DayanJakub Kicinski
1/3R-b A-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] flow_offload: add tc vlan push_eth and pop_eth actions

Offloading vlan push_eth and pop_eth actions is needed in order to correctly offload MPLSoUDP encap and decap flows, this series extends the flow offload API to support these actions and updates mlx5 to parse them.

v2:
- wrap vlan push_eth related members into struct.
- merge two helpers into one.

Maor Dickman (3):
net/sched: add vlan push_eth and pop_eth action to the hardware IR net/mlx5e: MPLSoUDP decap, use vlan push_eth instead of pedit net/mlx5e: MPLSoUDP encap, support action vlan pop_eth explicitly

 .../mellanox/mlx5/core/en/tc/act/act.c        |  7 +++
 .../mellanox/mlx5/core/en/tc/act/act.h        |  2 +
 .../mellanox/mlx5/core/en/tc/act/mirred.c     | 10 ++++
 .../mellanox/mlx5/core/en/tc/act/mpls.c       |  7 ++-
 .../mellanox/mlx5/core/en/tc/act/pedit.c      | 59 +++----------------
 .../mellanox/mlx5/core/en/tc/act/pedit.h      |  3 +-
 .../mellanox/mlx5/core/en/tc/act/vlan.c       | 19 ++++--
 .../mlx5/core/en/tc/act/vlan_mangle.c         |  4 +-
 .../ethernet/mellanox/mlx5/core/en/tc_priv.h  |  1 -
 .../mellanox/mlx5/core/en/tc_tun_encap.c      | 10 ++--
 .../net/ethernet/mellanox/mlx5/core/eswitch.h |  1 +
 include/net/flow_offload.h                    |  6 ++
 include/net/tc_act/tc_vlan.h                  | 10 ++++
 net/sched/act_vlan.c                          | 13 ++++
 14 files changed, 82 insertions(+), 70 deletions(-)
Signature · 1 line
2.34.1