[PATCH 0/6] realtek: fix management of mdb entries

Jan Hoffmann jan at 3e8.eu
Fri Mar 3 13:48:40 PST 2023


This series fixes multiple issues related to the L2 table and multicast 
table. That includes an issue that causes corruption of the port mask 
for unknown multicast forwarding, which can occur even when multicast 
snooping is disabled.

With these patches, multicast snooping should be mostly working. 
However, one important missing piece is forwarding of all multicast 
traffic to multicast router ports (as specified in section 2.1.2-1 of 
RFC4541). As far as I can see, this is a general issue that affects all 
DSA switches, and cannot be fixed without changes to the DSA subsystem.

Jan Hoffmann (6):
  realtek: fix writing/deletion of CAM entries
  realtek: don't return 0 from rtl83xx_mc_group_alloc on failure
  realtek: don't treat first multicast portmask entry as reserved
  realtek: actually remove port from multicast portmask
  realtek: don't add CPU port to multicast portmasks
  realtek: remove store_mcgroups/load_mcgroups

 .../files-5.10/drivers/net/dsa/rtl83xx/dsa.c  | 49 +++----------------
 .../drivers/net/dsa/rtl83xx/rtl838x.h         |  1 -
 .../files-5.15/drivers/net/dsa/rtl83xx/dsa.c  | 45 +++--------------
 .../drivers/net/dsa/rtl83xx/rtl838x.h         |  1 -
 4 files changed, 16 insertions(+), 80 deletions(-)

-- 
2.39.1




More information about the openwrt-devel mailing list