commit | 118d6298f6f0556e54331a6e86de2313d134fdbb | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@free-electrons.com> | Mon Nov 06 22:56:53 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 08 13:54:28 2017 +0900 |
tree | 054f5827b7c4697ee36cff84b7ed3e3e84a85672 | |
parent | 403466feb1ac978a734518f7cee3cd9e63cb773c [diff] |
net: mvpp2: add ethtool GOP statistics Add ethtool statistics support by reading the GOP statistics from the hardware counters. Also implement a workqueue to gather the statistics every second or some 32-bit counters could overflow. Suggested-by: Stefan Chulski <stefanc@marvell.com> Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>