Re: [PATCH v8 net-next 10/12] net: dsa: mv88e6xxx: mac-auth/MAB implementation
From: Vladimir Oltean
Date: Thu Oct 20 2022 - 19:01:06 EST
On Thu, Oct 20, 2022 at 11:09:40PM +0200, netdev@xxxxxxxxxxxxxxxxxxxx wrote:
> > Again, dsa_port_fast_age() is also called when dp->learning is turned
> > off in dsa_port_bridge_flags(). I don't want to see the mv88e6xxx driver
> > doing this manually.
>
> Maybe I am wrong, but I have only been able to trigger fast ageing by setting
> the STP state of the port to blocked...
Maybe you didn't try hard enough? On a DSA bridge port that is up and in
the FORWARDING state and with 'learning' on, running "ip link set dev
swp0 type bridge_slave learning off" triggers dsa_port_fast_age().