mlxsw: Add 802.1X and MAB offload support
Status from this message: This series was applied to netdev/net-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 15 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | bridge: switchdev: Let device drivers determine FDB offload indicationnet/ | +1 | 2 replies | Applied |
| 2/15 | bridge: switchdev: Allow device drivers to install locked FDB entriesinclude/ net/ net/ +2 more | +28 | 2 replies | Applied |
| 3/15 | bridge: switchdev: Reflect MAB bridge port flag to device driversnet/ | +1 | 2 replies | Applied |
| 4/15 | devlink: Add packet traps for 802.1X operationDocumentation/ include/ net/ | +25 | 1 reply | Applied |
| 5/15 | mlxsw: spectrum_trap: Register 802.1X packet traps with devlinkdrivers/ drivers/ drivers/ | +28 | 0 replies | Applied |
| 6/15 | mlxsw: reg: Add Switch Port FDB Security Registerdrivers/ | +34 | 0 replies | Applied |
| 7/15 | mlxsw: spectrum: Add an API to configure security checksdrivers/ drivers/ | +22 | 0 replies | Applied |
| 8/15 | mlxsw: spectrum_switchdev: Prepare for locked FDB notificationsdrivers/ | +13 | 0 replies | Applied |
| 9/15 | mlxsw: spectrum_switchdev: Add support for locked FDB notificationsdrivers/ | +12 | 0 replies | Applied |
| 10/15 | mlxsw: spectrum_switchdev: Use extack in bridge port flag validationdrivers/ | +7 | 0 replies | Applied |
| 11/15 | mlxsw: spectrum_switchdev: Add locked bridge port supportdrivers/ drivers/ | +26 | 3 replies | Applied |
| 12/15 | selftests: devlink_lib: Split out helpertools/ | +12 | 0 replies | Applied |
| 13/15 | selftests: mlxsw: Add a test for EAPOL traptools/ | +22 | 1 reply | Applied |
| 14/15 | selftests: mlxsw: Add a test for locked port traptools/ | +105 | 1 reply | Applied |
| 15/15 | selftests: mlxsw: Add a test for invalid locked bridge port configurationstools/ | +31 | 1 reply | Applied |
Reviews trailers per patch
All 15 patches have a Reviewed-by or Acked-by.
| Patch | Petr Machata | Vladimir Oltean | Nikolay Aleksandrov |
|---|---|---|---|
| 1/15 | R-b | R-b | A-b |
| 2/15 | R-b | R-b | A-b |
| 3/15 | R-b | R-b | A-b |
| 4/15 | R-b | ||
| 5/15 | R-b | ||
| 6/15 | R-b | ||
| 7/15 | R-b | ||
| 8/15 | R-b | ||
| 9/15 | R-b | ||
| 10/15 | R-b | ||
| 11/15 | R-b | ||
| 12/15 | R-b | ||
| 13/15 | R-b | R-b | |
| 14/15 | R-b | R-b | |
| 15/15 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH net-next 00/15] mlxsw: Add 802.1X and MAB offload support
Ido Schimmel <[email protected]> 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(-)
Signature · 1 line
2.35.3