[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a5fba3c6-c35d-9a27-a118-f321d7868996@intel.com>
Date: Fri, 29 Sep 2023 10:43:03 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Linus Walleij <linus.walleij@...aro.org>, Krzysztof Halasa
<khalasa@...p.pl>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next v3] net: ixp4xx_eth: Support changing the MTU
On 9/27/2023 3:12 PM, Linus Walleij wrote:
> As we don't specify the MTU in the driver, the framework
> will fall back to 1500 bytes and this doesn't work very
> well when we try to attach a DSA switch:
>
> eth1: mtu greater than device maximum
> ixp4xx_eth c800a000.ethernet eth1: error -22 setting
> MTU to 1504 to include DSA overhead
>
> After locating an out-of-tree patch in OpenWrt I found
> suitable code to set the MTU on the interface and ported
> it and updated it. Now the MTU gets set properly.
>
> Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
> ---
> Changes in v3:
> - Fix some coding style and initialization style.
> - Collect Jacob's review tag.
> - Link to v2: https://lore.kernel.org/r/20230925-ixp4xx-eth-mtu-v2-1-393caab75cb0@linaro.org
>
Thanks for the cleanups! Looks good to me still.
-Jake
Powered by blists - more mailing lists