]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mediatek-stress-test-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 02:41:33 +0000 (22:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2016 02:41:33 +0000 (22:41 -0400)
commit6d098634be0299b01d1b61f612389a5c45d25bc2
treec0cfab410e63d281f560adfdb318dd4d714a7a15
parent35b13a9f1899040cc9bd61bdcc8a1ad3ef614147
parentfaa615a5abffbd42c7f5c086c42976d131c608a4
Merge branch 'mediatek-stress-test-fixes'

John Crispin says:

====================
net: mediatek: make the driver pass stress tests

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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>