[PATCH v2] net: stmmac: only enable DMA interrupts when ready
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Feb 25 02:50:11 PST 2022
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem at davemloft.net>:
On Thu, 24 Feb 2022 12:38:29 +0100 you wrote:
> In this driver's ->ndo_open() callback, it enables DMA interrupts,
> starts the DMA channels, then requests interrupts with request_irq(),
> and then finally enables napi.
>
> If RX DMA interrupts are received before napi is enabled, no processing
> is done because napi_schedule_prep() will return false. If the network
> has a lot of broadcast/multicast traffic, then the RX ring could fill up
> completely before napi is enabled. When this happens, no further RX
> interrupts will be delivered, and the driver will fail to receive any
> packets.
>
> [...]
Here is the summary with links:
- [v2] net: stmmac: only enable DMA interrupts when ready
https://git.kernel.org/netdev/net/c/087a7b944c5d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list