Skip to content

mlxsw: Introduce support for "pass" gact action offloading

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mlxsw: spectrum_acl: Propagate errors from mlxsw_afa_block_jump/continuedrivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h drivers/net/ethernet/mellanox/mlxsw/spectrum.h +3 more+26 -180 replies
2/3net: sched: introduce helper to identify gact pass actioninclude/net/tc_act/tc_gact.h+5 -00 replies
3/3mlxsw: spectrum_flower: Offload "ok" termination actiondrivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch net-next 0/3] mlxsw: Introduce support for "pass" gact action offloading

From: Jiri Pirko <[email protected]>

Very simple patchset adds ability for user to insert filters with "pass" gact action and offload it. That allows scenarios like this:

$ tc filter add dev enp3s0np19 ingress protocol ip pref 10 flower skip_sw dst_ip 192.168.101.0/24 action drop
$ tc filter add dev enp3s0np19 ingress protocol ip pref 9 flower skip_sw dst_ip 192.168.101.1 action pass

Jiri Pirko (3):
mlxsw: spectrum_acl: Propagate errors from
mlxsw_afa_block_jump/continue
net: sched: introduce helper to identify gact pass action
mlxsw: spectrum_flower: Offload "ok" termination action

 .../net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c    | 14 ++++++++------
 .../net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h    |  4 ++--
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h             |  6 +++---
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c         | 10 +++++-----
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c    |  6 +++++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c      | 10 ++++++++--
 include/net/tc_act/tc_gact.h                               |  5 +++++
 7 files changed, 36 insertions(+), 19 deletions(-)
Signature · 1 line
2.9.5