Skip to content

mlxsw: spectrum_acl: Forbid unsupported filters

Ido Schimmel 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_flower: Forbid to offload mirred redirect on egressdrivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+5 -00 replies
2/3mlxsw: spectrum_acl: Track rules that forbid egress block binddrivers/net/ethernet/mellanox/mlxsw/spectrum.c drivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c +1 more+30 -70 replies
3/3mlxsw: spectrum_flower: Forbid to offload match on reserved TCP flags bitsdrivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c+6 -00 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: spectrum_acl: Forbid unsupported filters

From: Ido Schimmel <[email protected]>

Patches #1-#2 make mlxsw reject unsupported egress filters. These include filters that match on VLAN and filters associated with a redirect action. Patch #1 rejects such filters when they are configured on egress and patch #2 rejects such filters when they are configured in a shared block that user tries to bind to egress.

Patch #3 forbids matching on reserved TCP flags as this is not supported by the current keys that mlxsw uses.

Jiri Pirko (3):
mlxsw: spectrum_flower: Forbid to offload mirred redirect on egress
mlxsw: spectrum_acl: Track rules that forbid egress block bind
mlxsw: spectrum_flower: Forbid to offload match on reserved TCP flags
bits

 .../net/ethernet/mellanox/mlxsw/spectrum.c    |  2 +-
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |  7 ++++--
 .../ethernet/mellanox/mlxsw/spectrum_acl.c    | 17 ++++++++++----
 .../ethernet/mellanox/mlxsw/spectrum_flower.c | 22 +++++++++++++++++++
 4 files changed, 41 insertions(+), 7 deletions(-)
Signature · 1 line
2.21.0