Thread (7 messages) flat view 7 messages, 2 authors, 2021-08-08
STALE1848d

[PATCH net-next 0/5] Fast ageing support for SJA1105 DSA driver

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2021-08-08 14:35:59

While adding support for flushing dynamically learned FDB entries in the
sja1105 driver, I noticed a few things that could be improved in DSA.
Most notably, drivers could omit a fast age when address learning is
turned off, which might mean that ports leaving a bridge and becoming
standalone could still have FDB entries pointing towards them. Secondly,
when DSA fast ages a port after the 'learning' flag has been turned off,
the software bridge still has the dynamically learned 'master' FDB
entries installed, and those should be deleted too.

Cc: DENG Qingfang <dqfext@gmail.com>
Cc: Tobias Waldekranz <tobias@waldekranz.com>
Cc: Alexandra Winter <wintera@linux.ibm.com>
Cc: Julian Wiedmann <redacted>
Cc: Roopa Prabhu <redacted>
Cc: Nikolay Aleksandrov <redacted>

Vladimir Oltean (5):
  net: dsa: centralize fast ageing when address learning is turned off
  net: dsa: don't fast age bridge ports with learning turned off
  net: dsa: flush the dynamic FDB of the software bridge when fast
    ageing a port
  net: dsa: sja1105: rely on DSA core tracking of port learning state
  net: dsa: sja1105: add FDB fast ageing support

 drivers/net/dsa/mv88e6xxx/chip.c       |  7 ---
 drivers/net/dsa/sja1105/sja1105.h      |  1 -
 drivers/net/dsa/sja1105/sja1105_main.c | 73 +++++++++++++++++++-------
 include/net/dsa.h                      |  2 +
 net/dsa/dsa_priv.h                     |  2 +-
 net/dsa/port.c                         | 55 +++++++++++++++++--
 6 files changed, 108 insertions(+), 32 deletions(-)

-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help