diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-09-22 20:49:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-23 12:38:50 (GMT) |
commit | 732f794c1baf58e1eb2be4431635829c3da655bd (patch) | |
tree | a888762ed8e73ce15609c1dab5c43ce117c76aa8 /include/net/esp.h | |
parent | 4acfee8143b33efa8bda6f03fe1462d545ff8170 (diff) | |
download | linux-732f794c1baf58e1eb2be4431635829c3da655bd.tar.xz |
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 the generic switch logic.
Introduce a new optional port_fast_age operation to dsa_switch_ops, to
move this logic to the DSA layer and keep drivers simple.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/esp.h')
0 files changed, 0 insertions, 0 deletions