Re: [PATCH] net: ethoc: enable NAPI before poll may be scheduled

2017-06-06 Thread David Miller
From: Max Filippov Date: Mon, 5 Jun 2017 18:31:16 -0700 > ethoc_reset enables device interrupts, ethoc_interrupt may schedule a > NAPI poll before NAPI is enabled in the ethoc_open, which results in > device being unable to send or receive anything until it's closed and > reopened. In case the d

Re: [PATCH] net: ethoc: enable NAPI before poll may be scheduled

2017-06-06 Thread Florian Fainelli
On 06/05/2017 06:31 PM, Max Filippov wrote: > ethoc_reset enables device interrupts, ethoc_interrupt may schedule a > NAPI poll before NAPI is enabled in the ethoc_open, which results in > device being unable to send or receive anything until it's closed and > reopened. In case the device is floo

Re: [PATCH] net: ethoc: enable NAPI before poll may be scheduled

2017-06-05 Thread Tobias Klauser
On 2017-06-06 at 03:31:16 +0200, Max Filippov wrote: > ethoc_reset enables device interrupts, ethoc_interrupt may schedule a > NAPI poll before NAPI is enabled in the ethoc_open, which results in > device being unable to send or receive anything until it's closed and > reopened. In case the device

[PATCH] net: ethoc: enable NAPI before poll may be scheduled

2017-06-05 Thread Max Filippov
ethoc_reset enables device interrupts, ethoc_interrupt may schedule a NAPI poll before NAPI is enabled in the ethoc_open, which results in device being unable to send or receive anything until it's closed and reopened. In case the device is flooded with ingress packets it may be unable to recover a