Netdev List
 help / color / mirror / Atom feed
From: Ido Schimmel <idosch@idosch.org>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, jiri@mellanox.com, mlxsw@mellanox.com,
	Ido Schimmel <idosch@mellanox.com>
Subject: [PATCH net-next 0/3] mlxsw: spectrum_acl: Forbid unsupported filters
Date: Sat, 27 Jul 2019 20:32:54 +0300	[thread overview]
Message-ID: <20190727173257.6848-1-idosch@idosch.org> (raw)

From: Ido Schimmel <idosch@mellanox.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


             reply	other threads:[~2019-07-27 17:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-27 17:32 Ido Schimmel [this message]
2019-07-27 17:32 ` [PATCH net-next 1/3] mlxsw: spectrum_flower: Forbid to offload mirred redirect on egress Ido Schimmel
2019-07-27 17:32 ` [PATCH net-next 2/3] mlxsw: spectrum_acl: Track rules that forbid egress block bind Ido Schimmel
2019-07-27 17:32 ` [PATCH net-next 3/3] mlxsw: spectrum_flower: Forbid to offload match on reserved TCP flags bits Ido Schimmel
2019-07-27 21:32 ` [PATCH net-next 0/3] mlxsw: spectrum_acl: Forbid unsupported filters David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190727173257.6848-1-idosch@idosch.org \
    --to=idosch@idosch.org \
    --cc=davem@davemloft.net \
    --cc=idosch@mellanox.com \
    --cc=jiri@mellanox.com \
    --cc=mlxsw@mellanox.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox