Re: [net-next PATCH v9 0/8] net: dsa: realtek: rtl8365mb: bridge offloading and VLAN support

From: Mieczyslaw Nalewaj

Date: Sat May 30 2026 - 05:00:06 EST


On 5/29/2026 6:29 AM, Luiz Angelo Daros de Luca wrote:
> This series introduces bridge offloading, FDB management, and VLAN support
> for the Realtek rtl8365mb DSA switch driver. The primary goal is to
> enable hardware frame forwarding between bridge ports, reducing CPU
> overhead and providing advanced features like VLAN and FDB isolation.
>
> Some of these patches are based on original work by Alvin Šipraga,
> subsequently adapted and updated for the current net-next state.
>
> ---
> I attempted to reach Alvin for review of the final version but was
> unable to establish contact. Any regressions in this version are my
> responsibility.
>
> Changes in v9:
> * Patch 2 (DSA helpers):
> - Switch to dsa_switch_for_each_port() in the irq_setup error path.
> * Patch 4 (Table lookup):
> - Convert kdoc to standard comments.
> - Fix doc description for L2 write operation return value and
> data/addr on errors.
> - Removed misleading comment on RTL8365MB_TABLE_CTRL_PORT_MASK.
> * Patch 5 (VLAN support):
> - Do PVID first in port_vlan_add() to avoid reverting vlan4k changes
> if it fails.
> - Do not use dsa_switch_for_each_port_continue_reverse() after the
> loop ends (use-after-iterator).
> - Simplify PVID helpers to receive VID instead of switchdev vlan.
> - Avoid redundant writes in the PVID error path.
> - Convert kdoc to standard comments.
> * Patch 6 (Bridge Join/Leave):
> - Do not use dsa_switch_for_each_port_continue_reverse() after the
> loop ends (use-after-iterator).
> - Link to v8: https://patch.msgid.link/20260525-realtek_forward-v8-0-5eb80a4675be@xxxxxxxxx

Sashiko found no issues in the v9 code: https://sashiko.dev/#/patchset/20260529-realtek_forward-v9-0-e7c61872d923%40gmail.com