[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1f68e415-e022-e4a2-6123-b3ebc2ff797b@gmail.com>
Date: Wed, 27 Feb 2019 20:17:34 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>, davem@...emloft.net,
grygorii.strashko@...com
Cc: linux-omap@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jiri@...lanox.com,
ilias.apalodimas@...aro.org
Subject: Re: [PATCH net-next 5/6] net: ethernet: ti: cpsw: update mc filtering
to use IVDF
On 2/26/2019 10:45 AM, Ivan Khoronzhuk wrote:
> The cpsw can filter multicast addresses only per vlan. Thus if mcast
> address is set for one of them or only for real device it must be
> added for every created vlan consuming ALE table w/o reason. In order to
> simplify dispatching vlan filters, the IVDF recently added is resused.
>
> In case IVDF is disabled - mc is updated only for real device as before.
> The previous method is harder to reuse and vlan filtering is limited
> only for vlans directly connected to real netdev, so drop it in flavor
> of IVDF decision.
>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
> ---
> drivers/net/ethernet/ti/Kconfig | 1 +
> drivers/net/ethernet/ti/cpsw.c | 113 ++++----------------------------
> 2 files changed, 13 insertions(+), 101 deletions(-)
Nice diffstat!
--
Florian
Powered by blists - more mailing lists