From: Petr Machata <petrm@nvidia.com>
To: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Ivan Vecera <ivecera@redhat.com>,
netdev@vger.kernel.org
Cc: Petr Machata <petrm@nvidia.com>, Ido Schimmel <idosch@nvidia.com>,
Nikolay Aleksandrov <razor@blackwall.org>,
bridge@lists.linux-foundation.org,
Roopa Prabhu <roopa@nvidia.com>,
mlxsw@nvidia.com, Jiri Pirko <jiri@nvidia.com>,
"Hans J . Schultz" <netdev@kapio-technology.com>
Subject: [Bridge] [PATCH net-next 00/15] mlxsw: Add 802.1X and MAB offload support
Date: Tue, 8 Nov 2022 11:47:06 +0100 [thread overview]
Message-ID: <cover.1667902754.git.petrm@nvidia.com> (raw)
Ido Schimmel <idosch@nvidia.com> writes:
This patchset adds 802.1X [1] and MAB [2] offload support in mlxsw.
Patches #1-#3 add the required switchdev interfaces.
Patches #4-#5 add the required packet traps for 802.1X.
Patches #6-#10 are small preparations in mlxsw.
Patch #11 adds locked bridge port support in mlxsw.
Patches #12-#15 add mlxsw selftests. The patchset was also tested with
the generic forwarding selftest ('bridge_locked_port.sh').
[1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=a21d9a670d81103db7f788de1a4a4a6e4b891a0b
[2] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=a35ec8e38cdd1766f29924ca391a01de20163931
Hans J. Schultz (1):
bridge: switchdev: Allow device drivers to install locked FDB entries
Ido Schimmel (14):
bridge: switchdev: Let device drivers determine FDB offload indication
bridge: switchdev: Reflect MAB bridge port flag to device drivers
devlink: Add packet traps for 802.1X operation
mlxsw: spectrum_trap: Register 802.1X packet traps with devlink
mlxsw: reg: Add Switch Port FDB Security Register
mlxsw: spectrum: Add an API to configure security checks
mlxsw: spectrum_switchdev: Prepare for locked FDB notifications
mlxsw: spectrum_switchdev: Add support for locked FDB notifications
mlxsw: spectrum_switchdev: Use extack in bridge port flag validation
mlxsw: spectrum_switchdev: Add locked bridge port support
selftests: devlink_lib: Split out helper
selftests: mlxsw: Add a test for EAPOL trap
selftests: mlxsw: Add a test for locked port trap
selftests: mlxsw: Add a test for invalid locked bridge port
configurations
.../networking/devlink/devlink-trap.rst | 13 +++
drivers/net/ethernet/mellanox/mlxsw/reg.h | 35 ++++++
.../net/ethernet/mellanox/mlxsw/spectrum.c | 22 ++++
.../net/ethernet/mellanox/mlxsw/spectrum.h | 5 +-
.../mellanox/mlxsw/spectrum_switchdev.c | 64 +++++++++--
.../ethernet/mellanox/mlxsw/spectrum_trap.c | 25 +++++
drivers/net/ethernet/mellanox/mlxsw/trap.h | 2 +
include/net/devlink.h | 9 ++
include/net/switchdev.h | 1 +
net/bridge/br.c | 5 +-
net/bridge/br_fdb.c | 22 +++-
net/bridge/br_private.h | 2 +-
net/bridge/br_switchdev.c | 6 +-
net/core/devlink.c | 3 +
.../drivers/net/mlxsw/devlink_trap_control.sh | 22 ++++
.../net/mlxsw/devlink_trap_l2_drops.sh | 105 ++++++++++++++++++
.../selftests/drivers/net/mlxsw/rtnetlink.sh | 31 ++++++
.../selftests/net/forwarding/devlink_lib.sh | 19 ++--
18 files changed, 366 insertions(+), 25 deletions(-)
--
2.35.3
next reply other threads:[~2022-11-08 10:47 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 10:47 Petr Machata [this message]
2022-11-08 10:47 ` [Bridge] [PATCH net-next 01/15] bridge: switchdev: Let device drivers determine FDB offload indication Petr Machata
2022-11-08 14:16 ` Vladimir Oltean
2022-11-08 18:01 ` Nikolay Aleksandrov
2022-11-08 10:47 ` [Bridge] [PATCH net-next 02/15] bridge: switchdev: Allow device drivers to install locked FDB entries Petr Machata
2022-11-08 14:21 ` Vladimir Oltean
2022-11-08 18:01 ` Nikolay Aleksandrov
2022-11-08 10:47 ` [Bridge] [PATCH net-next 03/15] bridge: switchdev: Reflect MAB bridge port flag to device drivers Petr Machata
2022-11-08 14:22 ` Vladimir Oltean
2022-11-08 18:02 ` Nikolay Aleksandrov
2022-11-08 10:47 ` [Bridge] [PATCH net-next 04/15] devlink: Add packet traps for 802.1X operation Petr Machata
2022-11-08 14:38 ` Vladimir Oltean
2022-11-08 10:47 ` [Bridge] [PATCH net-next 05/15] mlxsw: spectrum_trap: Register 802.1X packet traps with devlink Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 06/15] mlxsw: reg: Add Switch Port FDB Security Register Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 07/15] mlxsw: spectrum: Add an API to configure security checks Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 08/15] mlxsw: spectrum_switchdev: Prepare for locked FDB notifications Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 09/15] mlxsw: spectrum_switchdev: Add support " Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 10/15] mlxsw: spectrum_switchdev: Use extack in bridge port flag validation Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 11/15] mlxsw: spectrum_switchdev: Add locked bridge port support Petr Machata
2022-11-08 14:59 ` Vladimir Oltean
2022-11-09 8:26 ` Ido Schimmel
2022-11-09 9:21 ` Vladimir Oltean
2022-11-08 10:47 ` [Bridge] [PATCH net-next 12/15] selftests: devlink_lib: Split out helper Petr Machata
2022-11-08 10:47 ` [Bridge] [PATCH net-next 13/15] selftests: mlxsw: Add a test for EAPOL trap Petr Machata
2022-11-08 15:11 ` Vladimir Oltean
2022-11-08 10:47 ` [Bridge] [PATCH net-next 14/15] selftests: mlxsw: Add a test for locked port trap Petr Machata
2022-11-08 15:30 ` Vladimir Oltean
2022-11-08 10:47 ` [Bridge] [PATCH net-next 15/15] selftests: mlxsw: Add a test for invalid locked bridge port configurations Petr Machata
2022-11-08 14:42 ` Vladimir Oltean
2022-11-08 10:59 ` [Bridge] [PATCH net-next 00/15] mlxsw: Add 802.1X and MAB offload support Ido Schimmel
2022-11-08 15:31 ` Vladimir Oltean
2022-11-10 3:30 ` patchwork-bot+netdevbpf
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=cover.1667902754.git.petrm@nvidia.com \
--to=petrm@nvidia.com \
--cc=bridge@lists.linux-foundation.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=idosch@nvidia.com \
--cc=ivecera@redhat.com \
--cc=jiri@nvidia.com \
--cc=kuba@kernel.org \
--cc=mlxsw@nvidia.com \
--cc=netdev@kapio-technology.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=razor@blackwall.org \
--cc=roopa@nvidia.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).