[LEDE-DEV] Transmit timeouts with mtk_eth_soc and MT7621
Kristian Evensen
kristian.evensen at gmail.com
Sat Aug 26 07:57:53 PDT 2017
Hi,
On Sat, Aug 26, 2017 at 4:47 PM, Kristian Evensen
<kristian.evensen at gmail.com> wrote:
> I guess our common theory is that something is causing TX interrupts
> not to be enabled again. After reading up on NAPI
> (https://wiki.linuxfoundation.org/networking/napi), it seems that the
> recommended way of using NAPI on clear-on-write devices (like the
> RT5350) is to use NAPI for RX and do TX in the interrupt handler. In
> the current driver, both TX and RX is handled in the NAPI-callback
> fe_poll(). I have modified the driver to split RX and TX, so now
> fe_poll() only deals with RX and TX is dealt with in fe_handle_irq().
> I have attached the (messy) patch I am currently testing. If this is
> an OK solution, I will clean up the patch and submit is to the list. I
> will leave my tests running overnight and report back if anything pops
> up.
I did not have to wait very long before anything. Unfortunately, my
router crashed right after I sent the previous email. So I guess that
means back to the drawing board.
-Kristian
More information about the Lede-dev
mailing list