]> 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)
commit600d72165d2c4c1795f340fc668f97618ea67aab
treecbe4dd701dde8795ddf20e9759c6f3a552dbb4ee
parent57d8edea747bd3d864f4aeb5174e049f2f8980aa
parent8f4c672980ab2ced63336689c7a7e2afcf0d4112
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>