[PATCH net-next v2] net: ethernet: mediatek: support setting MTU

Andrew Lunn andrew at lunn.ch
Mon Jan 25 08:01:05 EST 2021


On Mon, Jan 25, 2021 at 12:20:46PM +0800, DENG Qingfang wrote:
> MT762x HW, except for MT7628, supports frame length up to 2048
> (maximum length on GDM), so allow setting MTU up to 2030.
> 
> Also set the default frame length to the hardware default 1518.
> 
> Signed-off-by: DENG Qingfang <dqfext at gmail.com>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list