[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6a92a2f0-70b8-0fc1-d01f-21eb8d68aea2@gmail.com>
Date: Thu, 8 Oct 2020 14:09:13 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>
Subject: Re: [net-next PATCH v4] net: dsa: rtl8366rb: Roof MTU for switch
On 10/8/2020 2:03 PM, Linus Walleij wrote:
> The MTU setting for this DSA switch is global so we need
> to keep track of the MTU set for each port, then as soon
> as any MTU changes, roof the MTU to the biggest common
> denominator and poke that into the switch MTU setting.
>
> To achieve this we need a per-chip-variant state container
> for the RTL8366RB to use for the RTL8366RB-specific
> stuff. Other SMI switches does seem to have per-port
> MTU setting capabilities.
>
> Fixes: 5f4a8ef384db ("net: dsa: rtl8366rb: Support setting MTU")
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists