Re: [PATCH net-next v4 08/14] net: bridge: mcast: track active state, if snooping is enabled

Ido Schimmel
2026-03-09T13:45:20Z

On Sat, Mar 07, 2026 at 05:45:42AM +0100, Linus Lüssing wrote:
> To be able to use the upcoming SWITCHDEV_ATTR_ID_BRIDGE_MC_ACTIVE
> as a potential replacement for SWITCHDEV_ATTR_ID_BRIDGE_MC_DISABLED
> also check and toggle the active state if multicast snooping is enabled
> or disabled. So that MC_ACTIVE not only checks the querier state, but
> also if multicast snooping is enabled in general.
>
> No functional change for the fast/data path yet.
>
> Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>