[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190130160639.GE15050@lunn.ch>
Date: Wed, 30 Jan 2019 17:06:39 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: netdev@...r.kernel.org, vivien.didelot@...il.com,
davem@...emloft.net, idosch@...lanox.com, jiri@...lanox.com,
ilias.apalodimas@...aro.org, ivan.khoronzhuk@...aro.org,
roopa@...ulusnetworks.com, nikolay@...ulusnetworks.com
Subject: Re: [PATCH net-next v2 10/12] net: dsa: Wire up multicast IGMP
snooping attribute notification
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 <f.fainelli@...il.com>
> ---
> 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
Powered by blists - more mailing lists