Skip to content

mlxsw: spectrum: Introduce multichain TC offload

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mlxsw: spectrum: Offload multichain TC rulesdrivers/net/ethernet/mellanox/mlxsw/spectrum.c drivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c +1 more+25 -150 replies
2/5net: sched: add couple of goto_chain helpersinclude/net/tc_act/tc_gact.h+16 -40 replies
3/5mlxsw: spectrum_acl: Allow to get group_id value for a rulesetdrivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_tcam.c+24 -00 replies
4/5mlxsw: spectrum_acl: Provide helper to lookup rulesetdrivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c+41 -80 replies
5/5mlxsw: spectrum_flower: Offload goto_chain termination actiondrivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+19 -40 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/5] mlxsw: spectrum: Introduce multichain TC offload

From: Jiri Pirko <[email protected]>

This patchset introduces offloading of rules added to chain with non-zero index, which was previously forbidden. Also, goto_chain termination action is offloaded allowing to jump to processing of desired chain.

Jiri Pirko (5):
mlxsw: spectrum: Offload multichain TC rules
net: sched: add couple of goto_chain helpers
mlxsw: spectrum_acl: Allow to get group_id value for a ruleset
mlxsw: spectrum_acl: Provide helper to lookup ruleset
mlxsw: spectrum_flower: Offload goto_chain termination action

 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |  3 -
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     | 10 ++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c | 78 +++++++++++++++++-----
 .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c    | 15 +++++
 .../net/ethernet/mellanox/mlxsw/spectrum_flower.c  | 28 ++++++--
 include/net/tc_act/tc_gact.h                       | 20 ++++--
 6 files changed, 124 insertions(+), 30 deletions(-)
Signature · 1 line
2.9.3