On Thu, Dec 03, 2026 at 09:05:09AM +0100, A. Sverdlin wrote:
> From: Alexander Sverdlin <alex…@siemens.com> > > In dual-MAC mode the ALE is VLAN-aware and the Unknown VLAN register is > left at its reset value, so frames tagged with a VID the ALE doesn't know > are dropped even if the interface is promiscuous. ALE_P0_UNI_FLOOD only > helps with unknown unicast in known VLANs. > > This breaks DSA switches with VLAN-based tagging protocols, like LAN9303, > which encodes the source port in the VID: DSA puts the conduit into > promiscuous mode, but the ALE drops the frames coming from the switch. > > Bypass the ALE in promiscuous mode, as the legacy cpsw driver does in > dual_emac mode. In dual-MAC mode the ALE never forwards between external > ports and bypass delivers all received frames to the host port only, so > the port separation is preserved. When leaving promiscuous mode restore > the bypass setting configured via devlink. > > Switch mode changes reset ALE_BYPASS, re-apply the rx mode of the running > ports afterwards so that the promiscuous state isn't lost. > > Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac")
Is this a regression? Did it ever work? I think this is net-next material. Andrew