linux/drivers/net/dsa/microchip
Tristram Ha 96baf482ca net: dsa: microchip: Fix reserved multicast address table programming
KSZ9477/KSZ9897 and LAN937X families of switches use a reserved multicast
address table for some specific forwarding with some multicast addresses,
like the one used in STP.  The hardware assumes the host port is the last
port in KSZ9897 family and port 5 in LAN937X family.  Most of the time
this assumption is correct but not in other cases like KSZ9477.
Originally the function just setups the first entry, but the others still
need update, especially for one common multicast address that is used by
PTP operation.

LAN937x also uses different register bits when accessing the reserved
table.

Fixes: 457c182af5 ("net: dsa: microchip: generic access to ksz9477 static and reserved table")
Signed-off-by: Tristram Ha <tristram.ha@microchip.com>
Tested-by: Łukasz Majewski <lukma@nabladev.com>
Link: https://patch.msgid.link/20251105033741.6455-1-Tristram.Ha@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-11-06 07:11:36 -08:00
..
Kconfig net: dsa: microchip: Add SGMII port support to KSZ9477 switch 2025-05-26 17:15:51 +02:00
ksz_common.c net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ksz_common.h net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ksz_dcb.c net: dsa: microchip: Use different registers for KSZ8463 2025-07-25 17:01:56 -07:00
ksz_dcb.h net: dsa: microchip: add support DSCP priority mapping 2024-05-08 10:35:11 +01:00
ksz_ptp_reg.h
ksz_ptp.c net: Use dev_fwnode() 2025-06-12 18:46:37 -07:00
ksz_ptp.h net: dsa: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set() 2025-05-09 16:34:09 -07:00
ksz_spi.c net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driver 2025-07-25 17:01:56 -07:00
ksz8_reg.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-26 11:49:45 -07:00
ksz8.c net: dsa: microchip: Fix KSZ8863 reset problem 2025-08-08 13:18:18 -07:00
ksz8.h net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driver 2025-07-25 17:01:56 -07:00
ksz8863_smi.c net: dsa: microchip: replace unclear KSZ8830 strings 2024-09-06 08:41:35 +01:00
ksz9477_acl.c net: dsa: microchip: Fix uninitialized var in ksz9477_acl_move_entries() 2023-10-10 11:12:01 +02:00
ksz9477_i2c.c net: dsa: microchip: Add suspend/resume support to KSZ DSA driver 2024-12-19 18:05:57 -08:00
ksz9477_reg.h net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ksz9477_tc_flower.c net: dsa: microchip: ksz9477: flower: validate control flags 2024-04-15 10:33:14 +01:00
ksz9477.c net: dsa: microchip: Fix reserved multicast address table programming 2025-11-06 07:11:36 -08:00
ksz9477.h net: dsa: microchip: Add SGMII port support to KSZ9477 switch 2025-05-26 17:15:51 +02:00
lan937x_main.c net: dsa: microchip: Fix LAN937X set_ageing_time function 2024-12-19 18:04:04 -08:00
lan937x_reg.h net: dsa: microchip: Fix LAN937X set_ageing_time function 2024-12-19 18:04:04 -08:00
lan937x.h net: dsa: microchip: add support for side MDIO interface in LAN937x 2024-11-11 16:04:32 -08:00
Makefile net: dsa: microchip: rename ksz8 series files 2024-09-06 08:41:35 +01:00