On Tue, Jan 29, 2019 at 04:55:46PM -0800, Florian Fainelli wrote:
> The bridge can at runtime be configured with or without IGMP snooping
> enabled but we were not processing the switchdev attribute that notifies
> about that toggle, do this now.
>
> Signed-off-by: Florian Fainelli <[email protected]>
> ---
> include/net/dsa.h | 2 ++
> net/dsa/dsa_priv.h | 11 +++++++++++
> net/dsa/port.c | 13 +++++++++++++
> net/dsa/slave.c | 4 ++++
> net/dsa/switch.c | 28 ++++++++++++++++++++++++++++
> 5 files changed, 58 insertions(+)
>
> diff --git a/include/net/dsa.h b/include/net/dsa.h
> index 7f2a668ef2cc..2ee1ede7df5c 100644
> --- a/include/net/dsa.h
> +++ b/include/net/dsa.h
> @@ -425,6 +425,8 @@ struct dsa_switch_ops {
> /*
> * Multicast database
> */
> + int (*port_multicast_toggle)(struct dsa_switch *ds, int port,
> + bool mc_disabled);
Hi Florin
Looks like there is an extra tab in there?
Andrew