[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190727173257.6848-1-idosch@idosch.org>
Date: Sat, 27 Jul 2019 20:32:54 +0300
From: Ido Schimmel <idosch@...sch.org>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, jiri@...lanox.com, mlxsw@...lanox.com,
Ido Schimmel <idosch@...lanox.com>
Subject: [PATCH net-next 0/3] mlxsw: spectrum_acl: Forbid unsupported filters
From: Ido Schimmel <idosch@...lanox.com>
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
Powered by blists - more mailing lists