aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@free-electrons.com>2017-11-06 22:56:53 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-08 13:54:28 +0900
commit118d6298f6f0556e54331a6e86de2313d134fdbb (patch)
tree054f5827b7c4697ee36cff84b7ed3e3e84a85672 /net
parentMerge branch 'fsl-fman-next' (diff)
downloadlinux-dev-118d6298f6f0556e54331a6e86de2313d134fdbb.tar.xz
linux-dev-118d6298f6f0556e54331a6e86de2313d134fdbb.zip
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions