Re: [PATCH net-next 2/7] net: dsa: b53: fix extracting VID from entry for BCM5325/65

From: Florian Fainelli

Date: Wed Nov 26 2025 - 13:11:16 EST




On 11/24/2025 11:51 PM, Jonas Gorski wrote:
BCM5325/65's Entry register uses the highest three bits for
VALID/STATIC/AGE, so shifting by 53 only will add these to
b53_arl_entry::vid.

So make sure to mask the vid value as well, to not get invalid VIDs.

Fixes: c45655386e53 ("net: dsa: b53: add support for FDB operations on 5325/5365")
Signed-off-by: Jonas Gorski <jonas.gorski@xxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian