mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-04 00:03:25 -04:00
Address learning should initially be turned off by the driver for port
operation in standalone mode, then the DSA core handles changes to it
via ds->ops->port_bridge_flags().
Leaving address learning enabled while ports are standalone breaks any
kind of communication which involves port B receiving what port A has
sent. Notably it breaks the ksz9477 driver used with a (non offloaded,
ports act as if standalone) bonding interface in active-backup mode,
when the ports are connected together through external switches, for
redundancy purposes.
This fixes a major design flaw in the ksz9477 and ksz8795 drivers, which
unconditionally leave address learning enabled even while ports operate
as standalone.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
ksz8.h | ||
ksz8795.c | ||
ksz8795_reg.h | ||
ksz8863_smi.c | ||
ksz9477.c | ||
ksz9477.h | ||
ksz9477_i2c.c | ||
ksz9477_reg.h | ||
ksz_common.c | ||
ksz_common.h | ||
ksz_spi.c | ||
lan937x.h | ||
lan937x_main.c | ||
lan937x_reg.h | ||
Makefile |