lkml.org 
[lkml]   [2016]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/4] net: dsa: add port fast ageing
Date
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.

Vivien Didelot (4):
net: dsa: add port STP state helper
net: dsa: add port fast ageing
net: dsa: b53: implement DSA port fast ageing
net: dsa: mv88e6xxx: implement DSA port fast ageing

drivers/net/dsa/b53/b53_common.c | 31 ++++++++++-----------------
drivers/net/dsa/mv88e6xxx/chip.c | 45 ++++++++++++++++++++--------------------
include/net/dsa.h | 2 ++
net/dsa/slave.c | 35 ++++++++++++++++++++++++-------
4 files changed, 64 insertions(+), 49 deletions(-)

--
2.10.0

\
 
 \ /
  Last update: 2016-09-23 00:04    [W:2.246 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site