[PATCH V3 0/8] net: mediatek: make the driver pass stress tests

David Miller davem at davemloft.net
Tue Apr 12 19:42:09 PDT 2016


From: John Crispin <blogic at openwrt.org>
Date: Fri,  8 Apr 2016 00:54:03 +0200

> While testing the driver we managed to get the TX path to stall and fail
> to recover. When dual MAC support was added to the driver, the whole queue
> stop/wake code was not properly adapted. There was also a regression in the
> locking of the xmit function. The fact that watchdog_timeo was not set and
> that the tx_timeout code failed to properly reset the dma, irq and queue
> just made the mess complete.
> 
> This series make the driver pass stress testing. With this series applied
> the testbed has been running for several days and still has not locked up.
> We have a second setup that has a small hack patch applied to randomly stop
> irqs and/or one of the queues and successfully manages to recover from these
> simulated tx stalls.

Series applied, thanks.



More information about the Linux-mediatek mailing list