enetc: Fix reporting of h/w packet counters
authorClaudiu Manoil <claudiu.manoil@nxp.com>
Fri, 4 Dec 2020 17:15:05 +0000 (19:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Dec 2020 00:57:38 +0000 (16:57 -0800)
commiteb96b686fc2c601e78903cc61b6cf4588ddde013
tree1ca0e921cee7b3e9622e7515415a603744cfcbe7
parent10c678bd0a035ac2c64a9b26b222f20556227a53
enetc: Fix reporting of h/w packet counters

Noticed some inconsistencies in packet statistics reporting.
This patch adds the missing Tx packet counter registers to
ethtool reporting and fixes the information strings for a
few of them.

Fixes: 16eb4c85c964 ("enetc: Add ethtool statistics")
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Link: https://lore.kernel.org/r/20201204171505.21389-1-claudiu.manoil@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
drivers/net/ethernet/freescale/enetc/enetc_hw.h