Thread (8 messages) 8 messages, 5 authors, 2026-01-16

Re: [PATCH] net: airoha_eth: increase max mtu to 9220 for DSA jumbo frames

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-01-16 01:08:43
Also in: linux-arm-kernel, linux-mediatek

On Thu, Jan 15, 2026 at 08:10:20PM +0100, Benjamin Larsson wrote:
On 15/01/2026 18:41, Andrew Lunn wrote:
quoted
On Thu, Jan 15, 2026 at 02:18:37PM +0530, Sayantan Nandy wrote:
quoted
The Industry standard for jumbo frame MTU is 9216 bytes. When using DSA
sub-system, an extra 4 byte tag is added to each frame. To allow users
to set the standard 9216-byte MTU via ifconfig,increase AIROHA_MAX_MTU
to 9220 bytes (9216+4).
What does the hardware actually support? Is 9220 the real limit? 10K?
16K?

	Andrew
Hi, datasheets say 16k and I have observed packet sizes close to that on the
previous SoC generation EN7523 on the tx path.
Can you test 16K?

Does it make any difference to the memory allocation? Some drivers
allocate receive buffers based on the MAX MTU, not the current MTU, so
can eat up a lot of memory which is unlikely to be used. We should try
to avoid that.

Thanks
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help