On 1/20/2021 6:36 PM, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > The existence of dsa_broadcast has generated some confusion in the past: > https://www.mail-archive.com/netdev@vger.kernel.org/msg365042.html > > So let's document the existing dsa_port_notify and dsa_broadcast > functions and explain when each of them should be used. > > Also, in fact, the in-between function has always been there but was > lacking a name, and is the main reason for this patch: dsa_tree_notify. > Refactor dsa_broadcast to use it. > > This patch also moves dsa_broadcast (a top-level function) to dsa2.c, > where it really belonged in the first place, but had no companion so it > stood with dsa_port_notify. > > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Florian Fainelli <f.faine...@gmail.com> -- Florian
- Re: [PATCH v5 net-next 07/10] net: dsa: allow changi... Florian Fainelli
- Re: [PATCH v5 net-next 07/10] net: dsa: allow ch... Vladimir Oltean
- [PATCH v5 net-next 08/10] net: dsa: felix: convert to the... Vladimir Oltean
- Re: [PATCH v5 net-next 08/10] net: dsa: felix: conve... Florian Fainelli
- [PATCH v5 net-next 03/10] net: mscc: ocelot: store a name... Vladimir Oltean
- [PATCH v5 net-next 01/10] net: dsa: tag_8021q: add helper... Vladimir Oltean
- [PATCH v5 net-next 02/10] net: mscc: ocelot: export VCAP ... Vladimir Oltean
- [PATCH v5 net-next 04/10] net: mscc: ocelot: reapply brid... Vladimir Oltean
- Re: [PATCH v5 net-next 04/10] net: mscc: ocelot: rea... Florian Fainelli
- [PATCH v5 net-next 06/10] net: dsa: document the existing... Vladimir Oltean
- Re: [PATCH v5 net-next 06/10] net: dsa: document the... Florian Fainelli
- [PATCH v5 net-next 05/10] net: mscc: ocelot: don't use NP... Vladimir Oltean
- Re: [PATCH v5 net-next 05/10] net: mscc: ocelot: don... Florian Fainelli