[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAfyv37JbPtV3uUzc0ZUHNMCh+_y1XOH-auGWYJSzy4id07VCw@mail.gmail.com>
Date: Wed, 17 Mar 2021 12:37:48 +0100
From: Belisko Marek <marek.belisko@...il.com>
To: Corentin Labbe <clabbe.montjoie@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: set mtu size broken for dwmac-sun8i
On Wed, Mar 17, 2021 at 12:33 PM Corentin Labbe
<clabbe.montjoie@...il.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
Powered by blists - more mailing lists