[PATCH] net: spacemit: k1-emac: program frame size registers for jumbo frames

Andrew Lunn andrew at lunn.ch
Mon Jan 26 08:20:31 PST 2026


On Mon, Jan 26, 2026 at 02:59:19PM +0100, Tomas Hlavacek wrote:
> The driver allows changing MTU up to 4K via emac_change_mtu() and
> allocates appropriately sized DMA buffers, but it never programs the
> MAC_MAXIMUM_FRAME_SIZE and MAC_RECEIVE_JABBER_SIZE registers.
> 
> This causes the MAC hardware to reject frames larger than the default
> 1518 bytes, even when larger buffers are allocated. Frames exceeding
> the default size trigger jabber errors and are discarded.

This sounds like a fix? Should it have a Fixes: tag? Should it be
added to stable?

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

	Andrew



More information about the linux-riscv mailing list