Re: [PATCH net 0/3] Fix trainwreck with Ocelot switch statistics counters

From: patchwork-bot+netdevbpf
Date: Wed Mar 22 2023 - 00:40:25 EST


Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 21 Mar 2023 03:03:22 +0200 you wrote:
> While testing the patch set for preemptible traffic classes with some
> controlled traffic and measuring counter deltas:
> https://lore.kernel.org/netdev/20230220122343.1156614-1-vladimir.oltean@xxxxxxx/
>
> I noticed that in the output of "ethtool -S swp0 --groups eth-mac
> eth-phy eth-ctrl rmon -- --src emac | grep -v ': 0'", the TX counters
> were off. Quickly I realized that their values were permutated by 1
> compared to their names, and that for example
> tx-rmon-etherStatsPkts64to64Octets was incrementing when
> tx-rmon-etherStatsPkts65to127Octets should have.
>
> [...]

Here is the summary with links:
- [net,1/3] net: mscc: ocelot: fix stats region batching
https://git.kernel.org/netdev/net/c/6acc72a43eac
- [net,2/3] net: mscc: ocelot: fix transfer from region->buf to ocelot->stats
https://git.kernel.org/netdev/net/c/17dfd2104598
- [net,3/3] net: mscc: ocelot: add TX_MM_HOLD to ocelot_mm_stats_layout
https://git.kernel.org/netdev/net/c/5291099e0f61

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