All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: Belisko Marek <marek.belisko@gmail.com>
Cc: netdev <netdev@vger.kernel.org>
Subject: Re: set mtu size broken for dwmac-sun8i
Date: Wed, 17 Mar 2021 12:33:46 +0100	[thread overview]
Message-ID: <YFHpGmgOV/O+6lTZ@Red> (raw)
In-Reply-To: <CAAfyv37z0ny=JGsRrVwkzoOd3RNb_j-rQii65a0e2+KMt-YM3A@mail.gmail.com>

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.

Thanks
Regards

  reply	other threads:[~2021-03-17 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-17  9:19 set mtu size broken for dwmac-sun8i Belisko Marek
2021-03-17 11:33 ` Corentin Labbe [this message]
2021-03-17 11:37   ` Belisko Marek
2021-03-17 16:01     ` Corentin Labbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YFHpGmgOV/O+6lTZ@Red \
    --to=clabbe.montjoie@gmail.com \
    --cc=marek.belisko@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.