]> git.ipfire.org Git - people/arne_f/kernel.git/commit
net: enetc: fix ethtool counter name for PM0_TERR
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 20 Oct 2021 16:52:06 +0000 (19:52 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Oct 2021 07:56:50 +0000 (09:56 +0200)
commit4a0928c3ebca08e3919514dd0cef674ecace01ba
treef49fc9b6d1686407deee5cf864f4e22ff8cf1785
parent00ad7a01540968da214e1fe607aff27b97f9883a
net: enetc: fix ethtool counter name for PM0_TERR

[ Upstream commit fb8dc5fc8cbdfd62ecd16493848aee2f42ed84d9 ]

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")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: <Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://lore.kernel.org/r/20211020165206.1069889-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c