Skip to content
Commit 80c775ac authored by Peter Crosthwaite's avatar Peter Crosthwaite Committed by David S. Miller
Browse files

net: axienet: Service completion interrupts ASAP



The packet completion interrupts for TX and RX should be serviced before
the packets are consumed. This ensures against the degenerate case when a
new completion interrupt is raised after the handler has exited but before
the interrupts are cleared. In this case its possible for the ISR to clear
an unhandled interrupt (leading to potential deadlock).

Signed-off-by: default avatarPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tested-by: default avatarJason Wu <huanyu@xilinx.com>
Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 38e96b35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment