On 11/14/2020 3:45 PM, Tobias Waldekranz wrote: > Ethertype DSA encodes exactly the same information in the DSA tag as > the non-ethertype variety. So refactor out the common parts and reuse > them for both protocols. > > This is ensures tag parsing and generation is always consistent across > all mv88e6xxx chips. > > While we are at it, explicitly deal with all possible CPU codes on > receive, making sure to set offload_fwd_mark as appropriate. > > Signed-off-by: Tobias Waldekranz <tob...@waldekranz.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [PATCH v3 net-next 0/3] net: dsa: tag_dsa: Unify regular... Tobias Waldekranz
- [PATCH v3 net-next 3/3] net: dsa: tag_dsa: Use a co... Tobias Waldekranz
- Re: [PATCH v3 net-next 3/3] net: dsa: tag_dsa: ... Andrew Lunn
- Re: [PATCH v3 net-next 3/3] net: dsa: tag_dsa: ... Florian Fainelli
- [PATCH v3 net-next 1/3] net: dsa: tag_dsa: Allow fo... Tobias Waldekranz
- Re: [PATCH v3 net-next 1/3] net: dsa: tag_dsa: ... Andrew Lunn
- Re: [PATCH v3 net-next 1/3] net: dsa: tag_dsa: ... Florian Fainelli
- [PATCH v3 net-next 2/3] net: dsa: tag_dsa: Unify re... Tobias Waldekranz
- Re: [PATCH v3 net-next 2/3] net: dsa: tag_dsa: ... Andrew Lunn
- Re: [PATCH v3 net-next 2/3] net: dsa: tag_dsa: ... Florian Fainelli
- Re: [PATCH v3 net-next 0/3] net: dsa: tag_dsa: Unif... Jakub Kicinski