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

2020-10-30 Thread Andrew Lunn
On Fri, Oct 30, 2020 at 10:43:51AM +0800, DENG Qingfang wrote: > On Thu, Oct 29, 2020 at 9:02 PM Andrew Lunn wrote: > > > > On Thu, Oct 29, 2020 at 02:39:15PM +0800, DENG Qingfang wrote: > > > MT762x HW supports frame length up to 2048 (maximum length on GDM), > > > so allow setting MTU up to 2030

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

2020-10-29 Thread DENG Qingfang
On Thu, Oct 29, 2020 at 9:02 PM Andrew Lunn wrote: > > On Thu, Oct 29, 2020 at 02:39:15PM +0800, DENG Qingfang wrote: > > MT762x HW supports frame length up to 2048 (maximum length on GDM), > > so allow setting MTU up to 2030. > > > > Signed-off-by: DENG Qingfang > > --- > > > > I only tested thi

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

2020-10-29 Thread Andrew Lunn
On Thu, Oct 29, 2020 at 02:39:15PM +0800, DENG Qingfang wrote: > MT762x HW supports frame length up to 2048 (maximum length on GDM), > so allow setting MTU up to 2030. > > Signed-off-by: DENG Qingfang > --- > > I only tested this on MT7621, no sure if it is applicable for other SoCs > especially

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

2020-10-29 Thread DENG Qingfang
MT762x HW supports frame length up to 2048 (maximum length on GDM), so allow setting MTU up to 2030. Signed-off-by: DENG Qingfang --- I only tested this on MT7621, no sure if it is applicable for other SoCs especially MT7628, which has an old IP. --- drivers/net/ethernet/mediatek/mtk_eth_soc.c