Re: [PATCH net] dwc_eth_qos: fix interrupt enable race

2016-08-23 Thread David Miller
From: Lars Persson Date: Tue, 23 Aug 2016 16:31:28 +0200 > From: Rabin Vincent > > We currently enable interrupts before we enable NAPI. If an RX interrupt > hits before we enabled NAPI then the NAPI callback is never called and > we leave the hardware with RX interrupts disabled, which of cour

[PATCH net] dwc_eth_qos: fix interrupt enable race

2016-08-23 Thread Lars Persson
From: Rabin Vincent We currently enable interrupts before we enable NAPI. If an RX interrupt hits before we enabled NAPI then the NAPI callback is never called and we leave the hardware with RX interrupts disabled, which of course leads us to never handling received packets. Fix this by moving t