netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* set mtu size broken for dwmac-sun8i
@ 2021-03-17  9:19 Belisko Marek
  2021-03-17 11:33 ` Corentin Labbe
  0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2021-03-17  9:19 UTC (permalink / raw)
  To: netdev

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

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-17 16:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-17  9:19 set mtu size broken for dwmac-sun8i Belisko Marek
2021-03-17 11:33 ` Corentin Labbe
2021-03-17 11:37   ` Belisko Marek
2021-03-17 16:01     ` Corentin Labbe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).