Re: [PATCH v5 RESEND net 0/3] net: enetc: safely reinitialize TX BD ring when it has unsent frames
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-27 03:30:23
Also in:
imx, lkml
From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-03-27 03:30:23
Also in:
imx, lkml
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski [off-list ref]: On Tue, 24 Mar 2026 14:21:18 +0800 you wrote:
Currently the driver does not reset the producer index register (PIR) and consumer index register (CIR) when initializing a TX BD ring. The driver only reads the PIR and CIR and initializes the software indexes. If the TX BD ring is reinitialized when it still contains unsent frames, its PIR and CIR will not be equal after the reinitialization. However, the BDs between CIR and PIR have been freed and become invalid and this can lead to a hardware malfunction, causing the TX BD ring will not work properly. [...]
Here is the summary with links:
- [v5,RESEND,net,1/3] net: enetc: reset PIR and CIR if they are not equal when initializing TX ring
https://git.kernel.org/netdev/net/c/0239fd701d33
- [v5,RESEND,net,2/3] net: enetc: add graceful stop to safely reinitialize the TX Ring
https://git.kernel.org/netdev/net/c/2725d84efe25
- [v5,RESEND,net,3/3] net: enetc: do not access non-existent registers on pseudo MAC
https://git.kernel.org/netdev/net/c/f2df9567b123
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html