linux/drivers/net/ethernet/cadence
Xander Huff 3ff13f1c62 net/macb: improved ethtool statistics support
Currently `ethtool -S` simply returns "no stats available". It
would be more useful to see what the various ethtool statistics
registers' values are. This change implements get_ethtool_stats,
get_strings, and get_sset_count functions to accomplish this.

Read all GEM statistics registers and sum them into
macb.ethtool_stats. Add the necessary infrastructure to make this
accessible via `ethtool -S`.

Update gem_update_stats to utilize ethtool_stats.

Signed-off-by: Xander Huff <xander.huff@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-14 00:25:50 -05:00
..
at91_ether.c net: ethernet: cadence: drop owner assignment from platform_drivers 2014-10-20 16:21:06 +02:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-12-11 14:27:06 -08:00
macb.c net/macb: improved ethtool statistics support 2015-01-14 00:25:50 -05:00
macb.h net/macb: improved ethtool statistics support 2015-01-14 00:25:50 -05:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00