commit | 13ea657806cf73b379a0109f7042182f47c351a7 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Jun 04 16:15:50 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 07 15:19:06 2015 -0700 |
tree | 6dd48877e9e7659199b9042811733bf7fa21699e | |
parent | 80edb722b919500450e83c49c20a9dc706de2fa6 [diff] |
net: bcmgenet: improve TX timeout Dump useful ring statistics along with interrupt status, software maintained pointers and hardware registers to help troubleshoot TX queue stalls. When a timeout occurs, disable TX NAPI for the rings, dump their states while interrupts are disabled, re-enable interrupts, NAPI and queue flow control to help with the recovery. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>