]> Gentwo Git Trees - linux/.git/commit
net: dsa: b53: fix BCM5325/65 ARL entry VIDs
authorJonas Gorski <jonas.gorski@gmail.com>
Fri, 28 Nov 2025 08:06:24 +0000 (09:06 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Dec 2025 22:46:39 +0000 (14:46 -0800)
commitd39514e6a2d14f57830d649e2bf03b49612c2f73
treeb1679e2690dbbcbd93d044ead60e9632ee6d2904
parent3b08863469aa6028ac7c3120966f4e2f6051cf6b
net: dsa: b53: fix BCM5325/65 ARL entry VIDs

BCM5325/65's ARL entry registers do not contain the VID, only the search
result register does. ARL entries have a separate VID entry register for
the index into the VLAN table.

So make ARL entry accessors use the VID entry registers instead, and
move the VLAN ID field definition to the search register definition.

Fixes: c45655386e53 ("net: dsa: b53: add support for FDB operations on 5325/5365")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20251128080625.27181-7-jonas.gorski@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/b53/b53_regs.h