2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 08:44:14 +08:00
linux-next/net/dsa
Egil Hjelmeland 535f010d4b net: dsa: lan9303: Learn addresses on CPU port when bridged
When CPU transmit directly to port using tag, the LAN9303 does not
learn MAC addresses received on the CPU port into the ALR.
ALR learning is performed only when transmitting using ALR lookup.

Solution:
If the two external ports are bridged and the packet is not STP BPDU,
then use ALR lookup to allow ALR learning on CPU port.
Otherwise transmit directly to port with STP state override.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-27 23:30:53 +09:00
..
dsa2.c net: dsa: don't unmask port bitmaps 2017-10-26 17:05:04 +09:00
dsa_priv.h net: dsa: split dsa_port's netdev member 2017-10-18 12:24:33 +01:00
dsa.c net: dsa: split dsa_port's netdev member 2017-10-18 12:24:33 +01:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: legacy: don't unmask port bitmaps 2017-10-26 17:05:04 +09:00
Makefile net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
master.c net: dsa: change dsa_ptr for a dsa_port 2017-10-01 04:15:07 +01:00
port.c net: dsa: add port enable and disable helpers 2017-09-25 20:22:46 -07:00
slave.c net: dsa: Simplify dsa_slave_phy_setup() 2017-10-27 22:11:30 +09:00
switch.c net: dsa: Remove switchdev dependency from DSA switch notifier chain 2017-08-07 14:48:48 -07:00
tag_brcm.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_dsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_edsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_ksz.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_lan9303.c net: dsa: lan9303: Learn addresses on CPU port when bridged 2017-10-27 23:30:53 +09:00
tag_mtk.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_qca.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_trailer.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00