Skip to content

Improvement for DSA cross-chip setups

Vladimir Oltean netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 1 replyIn review
  2. v16 patches 8 repliesSuperseded

Changes in v2 from the cover letter

Remove an unused variable in patch 6.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: dsa: assert uniqueness of dsa,member propertiesnet/dsa/dsa2.c+7 -00 replies
2/6net: dsa: export the dsa_port_is_{user,cpu,dsa} helpersinclude/net/dsa.h net/dsa/dsa2.c+15 -150 replies
3/6net: dsa: execute dsa_switch_mdb_add only for routing port in cross-chip topologiesnet/dsa/switch.c+2 -230 replies
4/6net: dsa: calculate the largest_mtu across all ports in the treenet/dsa/slave.c+7 -60 replies
5/6net: dsa: targeted MTU notifiers should only match on one portnet/dsa/dsa_priv.h net/dsa/port.c net/dsa/slave.c +1 more+15 -110 replies
6/6net: dsa: remove cross-chip support from the MRP notifiersnet/dsa/switch.c+7 -481 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchFlorian FainelliAndrew LunnHoratiu Vultur
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/6] Improvement for DSA cross-chip setups

From: Vladimir Oltean <[email protected]>

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(-)
Signature · 1 line
2.25.1