Skip to contentSkip to conversation

net: enetc: fix ethtool counter name for PM0_TERR

PATCH Applied Vladimir Oltean 3 participants 3 messages Oct 20, 2021 – Oct 21, 2021

Subsystems (3)
lore
Share & tools
lore

Vladimir Oltean

author maintainer
#0 lore raw

PATCH 1/1 net: enetc: fix ethtool counter name for PM0_TERR

There are two counters named "MAC tx frames", one of them is actually incorrect. The correct name for that counter should be "MAC tx error frames", which is symmetric to the existing "MAC rx error frames".

Fixes 16eb4c85c964 ("enetc: Add ethtool statistics")
---
 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c +1 -1
index 9690e36e9e85..910b9f722504 100644
@@ -157,7 +157,7 @@ static const struct {
 	{ ENETC_PM0_TFRM,   "MAC tx frames" },
 	{ ENETC_PM0_TFCS,   "MAC tx fcs errors" },
 	{ ENETC_PM0_TVLAN,  "MAC tx VLAN frames" },
-	{ ENETC_PM0_TERR,   "MAC tx frames" },
+	{ ENETC_PM0_TERR,   "MAC tx frame errors" },
 	{ ENETC_PM0_TUCA,   "MAC tx unicast frames" },
 	{ ENETC_PM0_TMCA,   "MAC tx multicast frames" },
 	{ ENETC_PM0_TBCA,   "MAC tx broadcast frames" },
Signature · 1 line
2.25.1
maintainer Reviewed-by Claudiu Manoil <[email protected] on v1 1/1
#1 lore raw
Quoted 3 lines

-----Original Message-----
From: Vladimir Oltean <[email protected]>
Sent: Wednesday, October 20, 2021 7:52 PM

[...]

Quoted 9 lines

Subject: [PATCH net] net: enetc: fix ethtool counter name for PM0_TERR

There are two counters named "MAC tx frames", one of them is actually incorrect. The correct name for that counter should be "MAC tx error frames", which is symmetric to the existing "MAC rx error frames".

Fixes 16eb4c85c964 ("enetc: Add ethtool statistics")

---

Reviewed-by <Claudiu Manoil <[email protected]>
#2 lore raw
In reply to Vladimir Oltean
This patch was applied to netdev/net.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Wed, 20 Oct 2021 19:52:06 +0300 you wrote:

There are two counters named "MAC tx frames", one of them is actually incorrect. The correct name for that counter should be "MAC tx error frames", which is symmetric to the existing "MAC rx error frames".

Fixes 16eb4c85c964 ("enetc: Add ethtool statistics")

[...]

Here is the summary with links:
- [net] net: enetc: fix ethtool counter name for PM0_TERR
https://git.kernel.org/netdev/net/c/fb8dc5fc8cbd

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html