mbox series

[v2,net-next,0/6] Improvement for DSA cross-chip setups

Message ID 20210621164219.3780244-1-olteanv@gmail.com
Headers show
Series Improvement for DSA cross-chip setups | expand

Message

Vladimir Oltean June 21, 2021, 4:42 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This series improves some aspects in multi-switch DSA tree topologies:
- better device tree validation
- better handling of MTU changes
- better handling of multicast addresses
- removal of some unused code

Changes in v2:
Remove an unused variable in patch 6.

Vladimir Oltean (6):
  net: dsa: assert uniqueness of dsa,member properties
  net: dsa: export the dsa_port_is_{user,cpu,dsa} helpers
  net: dsa: execute dsa_switch_mdb_add only for routing port in
    cross-chip topologies
  net: dsa: calculate the largest_mtu across all ports in the tree
  net: dsa: targeted MTU notifiers should only match on one port
  net: dsa: remove cross-chip support from the MRP notifiers

 include/net/dsa.h  | 15 ++++++++
 net/dsa/dsa2.c     | 22 ++++--------
 net/dsa/dsa_priv.h |  4 +--
 net/dsa/port.c     |  4 +--
 net/dsa/slave.c    | 22 ++++++------
 net/dsa/switch.c   | 89 ++++++++--------------------------------------
 6 files changed, 53 insertions(+), 103 deletions(-)