ath79: ag71xx: add ethtool statistics support
authorLeon Leijssen <leon.git@leijssen.info>
Tue, 12 Jan 2021 09:56:36 +0000 (10:56 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 31 Jan 2021 23:48:12 +0000 (00:48 +0100)
commiteff03cea27551e5ae99c4b3ca99421078f8a8eb7
tree679b04e0304ab2d81f9efc16ec8096164f3d7b2f
parent17350266327c7db9882f85cc76cc1cdbf8058367
ath79: ag71xx: add ethtool statistics support

Add statistics to ethtool. The statistics can be useful to
debug network issues.

The code is backported from mainline ag71xx.c driver.

Signed-off-by: Leon Leijssen <leon.git@leijssen.info>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c