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(-)
--
2.21.0