On Tue, 2019-02-19 at 20:41 +0100, Simon Huelck wrote: > Am 19.02.2019 um 09:47 schrieb Jose Abreu: > > Hi Simon, > > > > On 2/18/2019 6:05 PM, Simon Huelck wrote: > > > disabling EEE doesnt help ( did it via the entry in the .dtb / .dts ), > > > the results are the same. I can confirm the LPI counters are zero or one > > > only after the test..... > > It's interesting to see that you have a lot of RX packets but few > > RX interrupts. This can either be due to mis-configuration of > > interrupt flags or RX Watchdog. > > > > 1. For interrupt flags you should be using LEVEL triggered IRQ. > > 2. For RX Watchdog you can try disabling it by adding the > > following in your platform wrapper driver (which will be > > "dwmac-meson8b.c", at probe): > > "plat_data->force_sf_dma_mode = 1;" and > > "plat_data->riwt_off = 1;" > > > > Thanks, > > Jose Miguel Abreu > > Hi, > > > are you aware that odroid c2 dts is using level irq ?
The odroid-c2 (meson-gxl) is using level triggered irq, indeed. For a reason that still eludes me, The odroid-c1 (meson8b) isn't. This is confusing since both boards have been mentionned in this thread. > > at which numbers do you estimage that RX irqs are low in numbers ? > > > regards, > > Simon > > > _______________________________________________ > linux-amlogic mailing list > linux-amlo...@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-amlogic