Re: [PATCH net] net: bcmgenet: Avoid sleeping in bcmgenet_timeout

2015-08-23 Thread David Miller
From: Florian Fainelli Date: Thu, 20 Aug 2015 18:04:22 -0700 > bcmgenet_timeout() executes in atomic context, yet we will invoke > napi_disable() which does sleep. Looking back at the changes, disabling > TX napi and re-enabling it is completely useless, since we reclaim all > TX buffers and re-e

[PATCH net] net: bcmgenet: Avoid sleeping in bcmgenet_timeout

2015-08-20 Thread Florian Fainelli
bcmgenet_timeout() executes in atomic context, yet we will invoke napi_disable() which does sleep. Looking back at the changes, disabling TX napi and re-enabling it is completely useless, since we reclaim all TX buffers and re-enable interrupts, and wake up the TX queues. Fixes: 13ea657806cf ("net