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 15/15] docs: net: dsa: sja1105: docum... Vladimir Oltean
- [PATCH v2 net-next 13/15] net: dsa: sja1105: implement a... Vladimir Oltean
- [PATCH v2 net-next 01/15] net: dsa: provide an option fo... Vladimir Oltean
- Re: [PATCH v2 net-next 01/15] net: dsa: provide an ... Florian Fainelli
- [PATCH v2 net-next 05/15] net: dsa: sja1105: save/restor... Vladimir Oltean
- Re: [PATCH v2 net-next 05/15] net: dsa: sja1105: sa... Florian Fainelli
- [PATCH v2 net-next 09/15] net: dsa: tag_8021q: support u... Vladimir Oltean
- [PATCH v2 net-next 02/15] net: dsa: tag_8021q: introduce... Vladimir Oltean
- Re: [PATCH v2 net-next 02/15] net: dsa: tag_8021q: ... Florian Fainelli
- [PATCH v2 net-next 07/15] net: dsa: sja1105: exit sja110... Vladimir Oltean
- Re: [PATCH v2 net-next 07/15] net: dsa: sja1105: ex... Florian Fainelli
- [PATCH v2 net-next 03/15] net: dsa: sja1105: keep the VL... Vladimir Oltean
- Re: [PATCH v2 net-next 03/15] net: dsa: sja1105: ke... kbuild test robot
- Re: [PATCH v2 net-next 03/15] net: dsa: sja1105... Vladimir Oltean
- Re: [PATCH v2 net-next 03/15] net: dsa: sja1105: ke... Florian Fainelli
- [PATCH v2 net-next 04/15] net: dsa: sja1105: deny altera... Vladimir Oltean
- Re: [PATCH v2 net-next 04/15] net: dsa: sja1105: de... Florian Fainelli