Skip to content

Commit fb8dc5f

Browse files
vladimirolteankuba-moo
authored andcommitted
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: 16eb4c8 ("enetc: Add ethtool statistics") Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: <Claudiu Manoil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent b6b19a7 commit fb8dc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/freescale/enetc/enetc_ethtool.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ static const struct {
157157
{ ENETC_PM0_TFRM, "MAC tx frames" },
158158
{ ENETC_PM0_TFCS, "MAC tx fcs errors" },
159159
{ ENETC_PM0_TVLAN, "MAC tx VLAN frames" },
160-
{ ENETC_PM0_TERR, "MAC tx frames" },
160+
{ ENETC_PM0_TERR, "MAC tx frame errors" },
161161
{ ENETC_PM0_TUCA, "MAC tx unicast frames" },
162162
{ ENETC_PM0_TMCA, "MAC tx multicast frames" },
163163
{ ENETC_PM0_TBCA, "MAC tx broadcast frames" },

0 commit comments

Comments
 (0)