[PATCH net v2 2/2] net: stmmac: dwmac-sun8i: Limit the MTU to 2018

Maxime Chevallier maxime.chevallier at bootlin.com
Sun Nov 22 08:36:43 PST 2026


Hi,

On 11/22/26 17:31, Nicolai Buchwitz wrote:
> On 22.11.2026 12:39, Chen-Yu Tsai wrote:
>> [...]
> 
>> FWIW I think this applies to all DWMAC cores.
> 
>> [...]
> 
>> So for normal descriptors the buffer size is bound to (2KB - bus width).
>> Not tested, but I think there is more evidence supporting a cross-platform
>> limit.
> 
> The sun8i EMAC isn't a Synopsys core, so this needs a test on one.

It's likely a synopsys core, but with some wrapper around the register accesses,
hard to tell how much of the actual dwmac is in there ._.

> Maxime, could you try MTU 2019-2021 on your boards?

It'll be tested in the nightly runs, I've setup some local MTU sweep tests
following the previous version of that patch :)

wonder what else will come out of it, I'll report in the morning.

Maxime



More information about the linux-arm-kernel mailing list