Skip to content

net: dsa: motorcomm: Add BR_FLOOD and BR_MCAST_FLOOD support

David Yang lkml netdev 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 0 repliesNew
  2. v48 patches 1 replySuperseded
  3. v3 posting 2/23 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/21 patch2 repliesSuperseded
v21 patch1 replySuperseded
v11 patch0 repliesSuperseded

Changes in v5 from the cover letter · 16 lines

- drop patch 3 of preexisting issue
- fix issues found by sashiko
- program RMA registers
v4: https://lore.kernel.org/r/[email protected]
- fix VID 0 handling
- reset port flags on bridge leaving
- remove local cpu_ports_mask
- translate FDB VID for VLAN-unaware bridges
- limit offloading to exactly one bridge
v3: https://lore.kernel.org/r/[email protected]
- refactor port isolation and filter action for standalone ports
- recompute flags when a port leaves bridge
- honor BR_HAIRPIN
v2: https://lore.kernel.org/r/[email protected]
- fix build error
v1: https://lore.kernel.org/r/[email protected]

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: dsa: motorcomm: Fix VLAN SVL and learn limit definitionsdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+3 -50 replies
2/7net: dsa: motorcomm: Drop VID 0 VLAN table programmingdrivers/net/dsa/motorcomm/chip.c+0 -100 replies
3/7net: dsa: motorcomm: Remove local cpu_ports_maskdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+9 -110 replies
4/7net: dsa: motorcomm: Isolate all ports during chip setupdrivers/net/dsa/motorcomm/chip.c+12 -00 replies
5/7net: dsa: motorcomm: Translate FDB VID for VLAN-unaware bridgesdrivers/net/dsa/motorcomm/chip.c+16 -00 replies
6/7net: dsa: motorcomm: Report inconsistency on bridge join failuredrivers/net/dsa/motorcomm/chip.c+5 -00 replies
7/7net: dsa: motorcomm: Support BR_FLOOD and BR_MCAST_FLOOD offloadingdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+170 -260 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/7
2/7
3/7
4/7R-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH net-next v5 0/7] net: dsa: motorcomm: Add BR_FLOOD and BR_MCAST_FLOOD support

Offload BR_FLOOD / BR_MCAST_FLOOD to the hardware for bridges when feasible.

v5:
- drop patch 3 of preexisting issue
- fix issues found by sashiko
- program RMA registers
v4: https://lore.kernel.org/r/[email protected]
- fix VID 0 handling
- reset port flags on bridge leaving
- remove local cpu_ports_mask
- translate FDB VID for VLAN-unaware bridges
- limit offloading to exactly one bridge
v3: https://lore.kernel.org/r/[email protected]
- refactor port isolation and filter action for standalone ports
- recompute flags when a port leaves bridge
- honor BR_HAIRPIN
v2: https://lore.kernel.org/r/[email protected]
- fix build error
v1: https://lore.kernel.org/r/[email protected]

David Yang (7):
net: dsa: motorcomm: Fix VLAN SVL and learn limit definitions
net: dsa: motorcomm: Drop VID 0 VLAN table programming
net: dsa: motorcomm: Remove local cpu_ports_mask
net: dsa: motorcomm: Isolate all ports during chip setup
net: dsa: motorcomm: Translate FDB VID for VLAN-unaware bridges
net: dsa: motorcomm: Report inconsistency on bridge join failure
net: dsa: motorcomm: Support BR_FLOOD and BR_MCAST_FLOOD offloading

 drivers/net/dsa/motorcomm/chip.c | 242 +++++++++++++++++++++++++------
 drivers/net/dsa/motorcomm/chip.h |  21 ++-
 2 files changed, 213 insertions(+), 50 deletions(-)
Signature · 1 line
2.53.0