Re: [PATCH net v3 2/3] net: dsa: mv88e6xxx: flush the ATU when the hash algorithm changes

From: Jonas Gorski

Date: Thu Jul 16 2026 - 03:26:11 EST


On Thu, Jul 16, 2026 at 9:09 AM Luke Howard <lukeh@xxxxxxxx> wrote:
>
>
>
> > On 16 Jul 2026, at 4:52 am, Jonas Gorski <jonas.gorski@xxxxxxxxx> wrote:
> >
> > Probably also needs to be not attached to any bridge, right? To make
> > sure that no additional static entries can exist (because I think
> > these are hard to recreate).
>
> Thank you, I have fixed and tested locally and will include in the next revision.

The more extensive alternative would be adding a way to replay all
static fdb (and mdb) entries to re-add them after flushing the ATU,
then you can allow that any time. This would be also something
interesting for e.g. b53, where disabling (the global) vlan filtering
in hardware means you cannot add or remove (static) entries with VID
!= 0.

But either option is fine for me; my main concern is avoiding a desync
of hardware and software configuration.

Best regards,
Jonas