commit | a59f8c5b048dc938fb958c91c282c865cd845705 | [log] [tgz] |
---|---|---|
author | Woojung Huh <woojung.huh@microchip.com> | Wed Mar 16 22:10:42 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 22:27:48 2016 -0400 |
tree | 29ee9a71fe1aa64be2b2cf18252dd7cbddfd1a32 | |
parent | 20ff55655a93554611fb7790c8a2d29ee4598d24 [diff] |
lan78xx: add ndo_get_stats64 Add lan78xx_get_stats64 of ndo_get_stats64 to report all statistics counters including errors from HW statistics. Read from HW when auto suspend is disabled, use saved counter when auto suspend is enabled because periodic call to ndo_get_stats64 prevents USB auto suspend. Signed-off-by: Woojung Huh <woojung.huh@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>