Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1489537

[PATCH net-next 0/4] net: dsa: add port fast ageing

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH net-next 0/4] net: dsa: add port fast ageing
Date 2016-09-22 23:00 +0200
Message-ID <skjg6-2JH-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 0/4] net: dsa: add port fast ageing Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-09-22 23:00 +0200
  [PATCH net-next 4/4] net: dsa: mv88e6xxx: implement DSA port fast ageing Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-09-22 23:00 +0200
  [PATCH net-next 2/4] net: dsa: add port fast ageing Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-09-22 23:00 +0200
  Re: [PATCH net-next 0/4] net: dsa: add port fast ageing Andrew Lunn <andrew@lunn.ch> - 2016-09-23 01:50 +0200
  Re: [PATCH net-next 0/4] net: dsa: add port fast ageing Florian Fainelli <f.fainelli@gmail.com> - 2016-09-23 07:40 +0200
  Re: [PATCH net-next 0/4] net: dsa: add port fast ageing David Miller <davem@davemloft.net> - 2016-09-23 14:10 +0200

csiph-web