On 5/11/2020 1:20 PM, Vladimir Oltean wrote: > From: Vladimir Oltean <[email protected]> > > Currently DSA assumes that taggers don't mess with the destination MAC > address of the frames on RX. That is not always the case. Some DSA > headers are placed before the Ethernet header (ocelot), and others > simply mangle random bytes from the destination MAC address (sja1105 > with its incl_srcpt option). > > Currently the DSA master goes to promiscuous mode automatically when the > slave devices go too (such as when enslaved to a bridge), but in > standalone mode this is a problem that needs to be dealt with. > > So give drivers the possibility to signal that their tagging protocol > will get randomly dropped otherwise, and let DSA deal with fixing that. > > Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> -- Florian
- [PATCH net-next 0/4] DSA: promisc on master, generic flow... Vladimir Oltean
- [PATCH net-next 1/4] net: dsa: allow drivers to requ... Vladimir Oltean
- Re: [PATCH net-next 1/4] net: dsa: allow drivers... Florian Fainelli
- [PATCH net-next 3/4] net: dsa: tag_ocelot: use a sho... Vladimir Oltean
- Re: [PATCH net-next 3/4] net: dsa: tag_ocelot: u... Jakub Kicinski
- Re: [PATCH net-next 3/4] net: dsa: tag_ocelo... Vladimir Oltean
- Re: [PATCH net-next 3/4] net: dsa: tag_o... David Miller
- Re: [PATCH net-next 3/4] net: dsa: ... Vladimir Oltean
- Re: [PATCH net-next 3/4] net: dsa: tag_ocelot: u... Florian Fainelli
- [PATCH net-next 2/4] net: dsa: sja1105: request prom... Vladimir Oltean
- Re: [PATCH net-next 2/4] net: dsa: sja1105: requ... Florian Fainelli
- [PATCH net-next 4/4] net: dsa: implement and use a g... Vladimir Oltean
- Re: [PATCH net-next 4/4] net: dsa: implement and... Florian Fainelli
