mlxsw: Introduce support for "pass" gact action offloading
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mlxsw: spectrum_acl: Propagate errors from mlxsw_afa_block_jump/continuedrivers/ drivers/ drivers/ +3 more | +26 | 0 replies | |
| 2/3 | net: sched: introduce helper to identify gact pass actioninclude/ | +5 | 0 replies | |
| 3/3 | mlxsw: spectrum_flower: Offload "ok" termination actiondrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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