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

Andrew Lunn andrew at lunn.ch
Thu Jan 15 17:08:27 PST 2026


On Thu, Jan 15, 2026 at 08:10:20PM +0100, Benjamin Larsson wrote:
> On 15/01/2026 18:41, Andrew Lunn wrote:
> > On Thu, Jan 15, 2026 at 02:18:37PM +0530, Sayantan Nandy wrote:
> > > 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



More information about the linux-arm-kernel mailing list