summaryrefslogtreecommitdiff
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2014-03-27 13:09:02 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:22 (GMT)
commitdb704b2ebb29e19338681c7341bc9defc4405026 (patch)
tree794f37381bca40aab58f86f5d7f9dc3d615a9dc4 /drivers/net/loopback.c
parent3db4152cc0cb16e62d4d8b07342998d1f5c37d3a (diff)
downloadlinux-fsl-qoriq-db704b2ebb29e19338681c7341bc9defc4405026.tar.xz
net: gianfar: do not try to cleanup TX packets if they are not done
What I observe is that the TX queue is not empty and does not make any progress. gfar_clean_tx_ring() does not clean up the packet because it is not completed yet. The root cause is that the DMA engine did not start yet (it was preempted before doing so) and that dumb loop, loops until that packet is gone. This is broken since c233cf4 ("gianfar: Fix tx napi polling"). What remains are spurious interrupts if CPU0 cleans up TX packages and CPU1 returns with IRQ_NONE. Cc: stable-rt@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions