]> Gentwo Git Trees - linux/.git/commit
Merge branch 'net-dsa-b53-fix-arl-accesses-for-bcm5325-65-and-allow-vid-0'
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Dec 2025 22:46:41 +0000 (14:46 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Dec 2025 22:46:41 +0000 (14:46 -0800)
commit8d92057c4a9bb14683c9f87f2f26b97564d72b2f
tree27405967e3fefb49a593d3c7945cdfd705cde54d
parent4e3583cb61a9e1306bbc8146c891292405003d9e
parent0b2b27058692d437b12d3f2a3bf0fa699af7376e
Merge branch 'net-dsa-b53-fix-arl-accesses-for-bcm5325-65-and-allow-vid-0'

Jonas Gorski says:

====================
net: dsa: b53: fix ARL accesses for BCM5325/65 and allow VID 0

ARL entries on BCM5325 and BCM5365 were broken significantly in two
ways:

- Entries for the CPU port were using the wrong port id, pointing to a
  non existing port.
- Setting the VLAN ID for entries was not done, adding them all to VLAN
  0 instead.

While the former technically broke any communication to the CPU port,
with the latter they were added to the currently unused VID 0, so they
never became effective. Presumably the default PVID was set to 1 because
of these issues 0 was broken (and the root cause not found).

So fix writing and reading entries on BCM5325/65 by first fixing the CPU
port entries, then fixing setting the VLAN ID for entries.

Finally, re-allow VID 0 for BCM5325/65 to allow the whole 1-15 VLAN ID
range to be available to users, and align VLAN handling with all other
switch chips.
====================

Link: https://patch.msgid.link/20251128080625.27181-1-jonas.gorski@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>