Re: [PATCH net-next v2] net: dsa: motorcomm: Remove the redundant MIB clear
From: patchwork-bot+netdevbpf
Date: Tue Oct 20 2026 - 07:24:12 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 15 Oct 2026 08:44:19 +0800 you wrote:
> The MIB clear in yt921x_chip_setup() is redundant. yt921x_dsa_setup()
> issues a hardware reset first, and the reset itself zeroes all the MIB
> counters.
>
> It does not follow the correct procedure either: CLEAN only takes effect
> while ALL_PORT is low, so a single-step CLEAN | ALL_PORT write does
> nothing once ALL_PORT is latched - and this write is what latches it for
> any CLEAN requested later.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: dsa: motorcomm: Remove the redundant MIB clear
https://git.kernel.org/netdev/net-next/c/7d23f0f650d9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html