Re: [RFC PATCH 02/10] net: dsa: b53: prevent FAST_AGE access on BCM5325

From: Florian Fainelli
Date: Mon Jun 02 2025 - 14:03:03 EST


On 6/2/25 02:37, Vladimir Oltean wrote:
Hello,

On Sat, May 31, 2025 at 12:13:00PM +0200, Álvaro Fernández Rojas wrote:
BCM5325 doesn't implement FAST_AGE registers so we should avoid reading or
writing them.

Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch")
Signed-off-by: Álvaro Fernández Rojas <noltari@xxxxxxxxx>
---

How about implementing a "slow age" procedure instead? Walk through the
FDB, and delete the dynamically learned entries for the port?

Address aging is important for STP state transitions.

That's a good suggestion, I suppose for now this can be b53 specific until we encounter another 20 year old switch and then we move that logic within the DSA framework?
--
Florian