]> git.baikalelectronics.ru Git - 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)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Oct 2021 13:44:23 +0000 (06:44 -0700)
commitbf54d27eeef2f808e312ac253ca12f974aa3406a
tree99480dde685c4fb453101b4ceb43c3c7a33ed1b9
parenta6450d2fbaefa27d9982aeb33abd89ff9042f67b
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: 77957c14991d ("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>
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c