]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: lan9303: Correct stat name
authorJerry Ray <jerry.ray@microchip.com>
Mon, 28 Nov 2022 19:35:59 +0000 (13:35 -0600)
committerJakub Kicinski <kuba@kernel.org>
Tue, 29 Nov 2022 02:01:55 +0000 (18:01 -0800)
commitdd3c90a81dc828058e7da6325aed8932ea46d8e5
tree570c61be2bbffb6c6747b075d5496fdfe262c2d7
parent5757f9c6394ec38eca6f6d91307ec3be084a272e
dsa: lan9303: Correct stat name

This patch changes the reported ethtool statistics for the lan9303
family of parts covered by this driver.

The TxUnderRun statistic label is renamed to RxShort to accurately
reflect what stat the device is reporting.  I did not reorder the
statistics as that might cause problems with existing user code that
are expecting the stats at a certain offset.

Fixes: 85bad8d1801c ("net: dsa: add new DSA switch driver for the SMSC-LAN9303")
Signed-off-by: Jerry Ray <jerry.ray@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20221128193559.6572-1-jerry.ray@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lan9303-core.c