diff options
author | Miquel Raynal <miquel.raynal@free-electrons.com> | 2017-11-06 22:56:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-08 13:54:28 +0900 |
commit | 118d6298f6f0556e54331a6e86de2313d134fdbb (patch) | |
tree | 054f5827b7c4697ee36cff84b7ed3e3e84a85672 /net/netfilter/nft_set_hash.c | |
parent | 403466feb1ac978a734518f7cee3cd9e63cb773c (diff) | |
download | op-kernel-dev-118d6298f6f0556e54331a6e86de2313d134fdbb.zip op-kernel-dev-118d6298f6f0556e54331a6e86de2313d134fdbb.tar.gz |
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/netfilter/nft_set_hash.c')
0 files changed, 0 insertions, 0 deletions