Re: [PATCH net] net: enetc: initialize SW PIR and CIR based HW PIR and CIR values

From: patchwork-bot+netdevbpf

Date: Tue Sep 30 2025 - 05:00:13 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 26 Sep 2025 09:39:53 +0800 you wrote:
> Software can only initialize the PIR and CIR of the command BD ring after
> a FLR, and these two registers can only be set to 0. But the reset values
> of these two registers are 0, so software does not need to update them.
> If there is no a FLR and PIR and CIR are not 0, resetting them to 0 or
> other values by software will cause the command BD ring to work
> abnormally. This is because of an internal context in the ring prefetch
> logic that will retain the state from the first incarnation of the ring
> and continue prefetching from the stale location when the ring is
> reinitialized. The internal context can only be reset by the FLR.
>
> [...]

Here is the summary with links:
- [net] net: enetc: initialize SW PIR and CIR based HW PIR and CIR values
https://git.kernel.org/netdev/net/c/2aff4420efc2

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html