Michael Dege says:
====================
net: renesas: rswitch: R-Car S4 add HW offloading for layer 2 switching
The current R-Car S4 rswitch driver only supports port based fowarding.
This patch set adds HW offloading for L2 switching/bridgeing. The driver
hooks into switchdev.
1. Rename the base driver file to keep the driver name (rswitch.ko)
2. Add setting of default MAC ageing time in hardware.
3. Add the L2 driver extension in a separate file. The HW offloading
is automatically configured when a port is added to the bridge device.
Usage example:
ip link add name br0 type bridge
ip link set dev tsn0 master br0
ip link set dev tsn1 master br0
ip link set dev br0 up
ip link set dev tsn0 up
ip link set dev tsn1 up
Layer 2 traffic is now fowarded by HW from port TSN0 to port TSN1.
4. Provides the functionality to set the MAC table ageing time in the
Rswitch.
Usage example:
ip link change dev br0 type bridge ageing 100
v4: https://lore.kernel.org/r/
20250828-add_l2_switching-v4-0-
89d7108c8592@renesas.com
v3: https://lore.kernel.org/r/
20250710-add_l2_switching-v3-0-
c0a328327b43@renesas.com
v2: https://lore.kernel.org/r/
20250708-add_l2_switching-v2-0-
f91f5556617a@renesas.com
v1: https://lore.kernel.org/r/
20250704-add_l2_switching-v1-0-
ff882aacb258@renesas.com
Signed-off-by: Michael Dege <michael.dege@renesas.com>
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
====================
Link: https://patch.msgid.link/20250901-add_l2_switching-v5-0-5f13e46860d5@renesas.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>