Re: [PATCH RFC net-next 00/10] MC Flood disable and snooping

From: Andrew Lunn
Date: Fri Apr 05 2024 - 09:10:20 EST


> > Thanks for the explanation. So i think the key part which you said
> > above is:
> >
> > At the same time, the bridge will also forward the packet to every
> > mrouter port so that listeners beyond mrouter ports can receive that
> > multicast packet as well.
> >
> > How does the bridge know about the mrouter port? It seems like the
>
> The bridge learns about the existence of the Querier by the reception of
> Queries. The bridge will mark the port which it received Queries from as the
> mrouter port.
>
> > bridge needs to pass that information down to the switch. Is the
>
> The bridge does pass that information down to switchdev. Patch 5 adds DSA
> handling of that event as well. Patches 9 and 10 adds the support in the
> mv88e6xxx driver.

I've not been looking at the details too much for this patchset. It
does however seem that some parts are controversial, and others just
seem like a bug fix. Does it make sense to split this into two
patchsets?

Andrew