aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xilinx/ll_temac_main.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-06-04 16:15:50 -0700
committerDavid S. Miller <davem@davemloft.net>2015-06-07 15:19:06 -0700
commit13ea657806cf73b379a0109f7042182f47c351a7 (patch)
tree6dd48877e9e7659199b9042811733bf7fa21699e /drivers/net/ethernet/xilinx/ll_temac_main.c
parentnet: dsa: mv88e6xxx: Fix deadlock by double lock (diff)
downloadlinux-dev-13ea657806cf73b379a0109f7042182f47c351a7.tar.xz
linux-dev-13ea657806cf73b379a0109f7042182f47c351a7.zip
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>
Diffstat (limited to 'drivers/net/ethernet/xilinx/ll_temac_main.c')
0 files changed, 0 insertions, 0 deletions