Skip to content

Offload software learnt bridge addresses to DSA

Vladimir Oltean bridge lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 2 repliesApplied 7/7
  2. v1 RFC3 patches 19 repliesSuperseded

Patches in v4 All 7 applied

#Subject and filesSizeRepliesApplied
1/7net: bridge: notify switchdev of disappearance of old FDB entry upon migrationnet/bridge/br_fdb.c+1 -01 replyApplied
2/7net: dsa: be louder when a non-legacy FDB operation failsnet/dsa/slave.c+7 -31 replyApplied
3/7net: dsa: don't use switchdev_notifier_fdb_info in dsa_switchdev_event_worknet/dsa/dsa_priv.h net/dsa/slave.c+65 -530 repliesApplied
4/7net: dsa: move switchdev event implementation under the same switch/case statementnet/dsa/slave.c+16 -190 repliesApplied
5/7net: dsa: exit early in dsa_slave_switchdev_event if we can't program the FDBnet/dsa/slave.c+3 -00 repliesApplied
6/7net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neighborsinclude/net/dsa.h net/dsa/slave.c+60 -110 repliesApplied
7/7net: dsa: ocelot: request DSA to fix up lack of address learning on CPU portdrivers/net/dsa/ocelot/felix.c+1 -00 repliesApplied

Reviews trailers per patch

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

PatchNikolay AleksandrovIdo SchimmelAndrew LunnFlorian Fainelli
1/7A-b R-b R-b R-b
2/7R-b R-b
3/7R-b
4/7R-b
5/7R-b R-b
6/7R-b R-b
7/7R-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 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 net-next 0/7] Offload software learnt bridge addresses to DSA

From: Vladimir Oltean <[email protected]>

This series tries to make DSA behave a bit more sanely when bridged with "foreign" (non-DSA) interfaces and source address learning is not supported on the hardware CPU port (which would make things work more seamlessly without software intervention). When a station A connected to a DSA switch port needs to talk to another station B connected to a non-DSA port through the Linux bridge, DSA must explicitly add a route for station B towards its CPU port.

Initial RFC was posted here:
https://patchwork.ozlabs.org/project/netdev/cover/[email protected]/

v2 was posted here:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/

v3 was posted here:
https://patchwork.kernel.org/project/netdevbpf/cover/[email protected]/

This is a resend of the previous v3 with some added Reviewed-by tags.

Vladimir Oltean (7):
net: bridge: notify switchdev of disappearance of old FDB entry upon
migration
net: dsa: be louder when a non-legacy FDB operation fails
net: dsa: don't use switchdev_notifier_fdb_info in
dsa_switchdev_event_work
net: dsa: move switchdev event implementation under the same
switch/case statement
net: dsa: exit early in dsa_slave_switchdev_event if we can't program
the FDB
net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign
bridge neighbors
net: dsa: ocelot: request DSA to fix up lack of address learning on
CPU port

 drivers/net/dsa/ocelot/felix.c |   1 +
 include/net/dsa.h              |   5 +
 net/bridge/br_fdb.c            |   1 +
 net/dsa/dsa_priv.h             |  12 +++
 net/dsa/slave.c                | 174 +++++++++++++++++++++------------
 5 files changed, 130 insertions(+), 63 deletions(-)
Signature · 1 line
2.25.1