On Wed, Mar 17, 2021 at 12:33 PM Corentin Labbe <clabbe.montj...@gmail.com> wrote: > > Le Wed, Mar 17, 2021 at 10:19:26AM +0100, Belisko Marek a écrit : > > Hi, > > > > I'm hunting an issue when setting mtu failed for dwmac-sun8i driver. > > Basically adding more debug shows that in stmmac_change_mtu > > tx_fifo_size is 0 and in this case EINVAL is reported. Isaw there was > > fix for similar driver dwmac-sunxi driver by: > > 806fd188ce2a4f8b587e83e73c478e6484fbfa55 > > > > IIRC dwmac-sun8i should get tx and rx fifo size from dma but seems > > it's not the case. I'm using 5.4 kernel LTS release. Any ideas? > > > > Thanks and BR, > > > > marek > > > > Hello > > Could you provide exact command line you tried to change mtu ? > Along with all MTU values you tried. I tried with ifconfig eth0 down && ifconfig eth0 mtu 1400 return: ifconfig: SIOCSIFMTU: Invalid argument
btw board is orange-pi-pc-plus > > Thanks > Regards BR, marek