aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2017-11-06 22:56:53 +0100
committerDavid S. Miller <[email protected]>2017-11-08 13:54:28 +0900
commit118d6298f6f0556e54331a6e86de2313d134fdbb (patch)
tree054f5827b7c4697ee36cff84b7ed3e3e84a85672 /net/switchdev/switchdev.c
parent403466feb1ac978a734518f7cee3cd9e63cb773c (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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions