]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-port-fast-ageing'
authorDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 12:38:59 +0000 (08:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Sep 2016 12:38:59 +0000 (08:38 -0400)
commit226fbdea0d97281accc26bed11ae0ec648119628
treecbe4dd701dde8795ddf20e9759c6f3a552dbb4ee
parent446a930b05c79b0432cb89f068aa155ce27cbd10
parent043f777f1580f0061049c85af34a36a41eca3f5c
Merge branch 'dsa-port-fast-ageing'

Vivien Didelot says:

====================
net: dsa: add port fast ageing

Today the DSA drivers are in charge of flushing the MAC addresses
associated to a port when its STP state changes from Learning or
Forwarding, to Disabled or Blocking or Listening.

This makes the drivers more complex and hides this generic switch logic.

This patchset introduces a new optional port_fast_age operation to
dsa_switch_ops, to move this logic to the DSA layer and keep drivers
simple. b53 and mv88e6xxx are updated accordingly.
====================

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>