Re: [PATCH v5 RESEND net 0/3] net: enetc: safely reinitialize TX BD ring when it has unsent frames
From: patchwork-bot+netdevbpf
Date: Thu Mar 26 2026 - 23:30:28 EST
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
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