On 5/11/2020 6:53 AM, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > VLAN filtering is a global property for sja1105, and that means that we > rely on the DSA core to not call us more than once. > > But we need to introduce some per-port state for the tagger, namely the > xmit_tpid, and the best place to do that is where the xmit_tpid changes, > namely in sja1105_vlan_filtering. So at the moment, exit early from the > function to avoid unnecessarily resetting the switch for each port call. > Then we'll change the xmit_tpid prior to the early exit in the next > patch. > > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- [PATCH v2 net-next 11/15] net: dsa: sja1105: add a new be... Vladimir Oltean
- [PATCH v2 net-next 15/15] docs: net: dsa: sja1105: docume... Vladimir Oltean
- [PATCH v2 net-next 08/15] net: dsa: sja1105: prepare tagg... Vladimir Oltean
- Re: [PATCH v2 net-next 08/15] net: dsa: sja1105: pre... Florian Fainelli
- [PATCH v2 net-next 12/15] net: dsa: sja1105: add packing ... Vladimir Oltean
- [PATCH v2 net-next 13/15] net: dsa: sja1105: implement a ... Vladimir Oltean
- [PATCH v2 net-next 14/15] net: dsa: sja1105: implement VL... Vladimir Oltean
- [PATCH v2 net-next 05/15] net: dsa: sja1105: save/restore... Vladimir Oltean
- Re: [PATCH v2 net-next 05/15] net: dsa: sja1105: sav... Florian Fainelli
- [PATCH v2 net-next 07/15] net: dsa: sja1105: exit sja1105... Vladimir Oltean
- Re: [PATCH v2 net-next 07/15] net: dsa: sja1105: exi... Florian Fainelli
- [PATCH v2 net-next 02/15] net: dsa: tag_8021q: introduce ... Vladimir Oltean
- Re: [PATCH v2 net-next 02/15] net: dsa: tag_8021q: i... Florian Fainelli
- [PATCH v2 net-next 09/15] net: dsa: tag_8021q: support up... Vladimir Oltean
- Re: [PATCH v2 net-next 09/15] net: dsa: tag_8021q: s... Florian Fainelli
- [PATCH v2 net-next 04/15] net: dsa: sja1105: deny alterat... Vladimir Oltean
- Re: [PATCH v2 net-next 04/15] net: dsa: sja1105: den... Florian Fainelli