mlxws: update driver to support offload of bridged vlan devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | switchdev: vlan: Use switchdev_port* in vlan_netdev_opsnet/ | +7 | 0 replies | |
| 2/14 | switchdev: Pass original device to port netdev driverinclude/ net/ net/ +5 more | +22 | 0 replies | |
| 3/14 | mlxsw: spectrum: Allocate active VLANs only for port netdevsdrivers/ drivers/ | +11 | 0 replies | |
| 4/14 | mlxsw: spectrum: Split vFID range in twodrivers/ drivers/ drivers/ | +287 | 0 replies | |
| 5/14 | mlxsw: spectrum: Use appropriate parameter namedrivers/ | +4 | 0 replies | |
| 6/14 | mlxsw: spectrum: Add another flood table for vFIDsdrivers/ drivers/ drivers/ | +16 | 0 replies | |
| 7/14 | mlxsw: spectrum: Use FID instead of VID when accessing FDBdrivers/ drivers/ | +34 | 0 replies | |
| 8/14 | mlxsw: spectrum: Adjust switchdev ops for VLAN devicesdrivers/ drivers/ | +98 | 0 replies | |
| 9/14 | mlxsw: spectrum: Adjust FDB notifications for VLAN devicesdrivers/ drivers/ | +61 | 0 replies | |
| 10/14 | mlxsw: spectrum: Handle VLAN devices linking / unlinkingdrivers/ | +51 | 0 replies | |
| 11/14 | mlxsw: spectrum: Add support for VLAN devices bridgingdrivers/ drivers/ drivers/ | +378 | 0 replies | |
| 12/14 | mlxsw: reg: Add lag_vid field to SFD registerdrivers/ drivers/ | +10 | 0 replies | |
| 13/14 | mlxsw: spectrum: Enable FDB records for VLAN devices on top of LAGdrivers/ | +14 | 0 replies | |
| 14/14 | mlxsw: spectrum: Add support for VLAN devices on top of LAGdrivers/ | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch net-next 00/14] mlxws: update driver to support offload of bridged vlan devices
From: Jiri Pirko <[email protected]>
Ido Schimmel says:
====================
This patchset introduces support for the offloading of 802.1D bridges between VLAN devices. These can either be VLAN devices configured on top of the physical ports or on top of LAG devices.
Patches 1-2 deal with the necessary infrastructure changes needed in order to enable the above. The main change is that switchdev drivers can now know the device from which the switchdev op originated from.
Patches 3-10 lay the groundwork for 802.1D bridges support in the mlxsw driver, with patch 4 doing most of the heavy lifting.
Patch 11 finally offloads these bridges to hardware by listening to the notifications sent when the VLAN device joins or leaves a bridge. It is very similar to the already existing 802.1Q bridge we support.
Patches 12-14 add minor modifications to allow one to bridge a VLAN device configured on top of LAG.
====================
Ido Schimmel (14):
switchdev: vlan: Use switchdev_port* in vlan_netdev_ops
switchdev: Pass original device to port netdev driver
mlxsw: spectrum: Allocate active VLANs only for port netdevs
mlxsw: spectrum: Split vFID range in two
mlxsw: spectrum: Use appropriate parameter name
mlxsw: spectrum: Add another flood table for vFIDs
mlxsw: spectrum: Use FID instead of VID when accessing FDB
mlxsw: spectrum: Adjust switchdev ops for VLAN devices
mlxsw: spectrum: Adjust FDB notifications for VLAN devices
mlxsw: spectrum: Handle VLAN devices linking / unlinking
mlxsw: spectrum: Add support for VLAN devices bridging
mlxsw: reg: Add lag_vid field to SFD register
mlxsw: spectrum: Enable FDB records for VLAN devices on top of LAG
mlxsw: spectrum: Add support for VLAN devices on top of LAG
drivers/net/ethernet/mellanox/mlxsw/Kconfig | 2 +- drivers/net/ethernet/mellanox/mlxsw/reg.h | 22 +- drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 774 ++++++++++++++++++--- drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 102 ++- .../ethernet/mellanox/mlxsw/spectrum_switchdev.c | 234 ++++++- include/net/switchdev.h | 2 + net/8021q/vlan_dev.c | 7 + net/bridge/br_fdb.c | 1 + net/bridge/br_stp.c | 2 + net/bridge/br_stp_if.c | 1 + net/bridge/br_vlan.c | 2 + net/core/net-sysfs.c | 1 + net/core/rtnetlink.c | 1 + net/switchdev/switchdev.c | 12 + 14 files changed, 1001 insertions(+), 162 deletions(-)
Signature · 1 line
1.9.3