diff options
author | Tristram Ha <Tristram.Ha@microchip.com> | 2019-02-23 03:36:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-25 04:49:59 +0300 |
commit | 7c6ff470aa867f53b8522a3a5c84c36ac7a20090 (patch) | |
tree | 84c02ceed3dc03618f080a027f2418c4a14f52ae /drivers/rtc/rtc-rp5c01.c | |
parent | 42fc6a4c613019666f2fd11bc0b542cf2f4dae24 (diff) | |
download | linux-7c6ff470aa867f53b8522a3a5c84c36ac7a20090.tar.xz |
net: dsa: microchip: add MIB counter reading support
Add background MIB counter reading support.
Port MIB counters should only be read when there is link. Otherwise it is
a waste of time as hardware never increases those counters. There are
exceptions as some switches keep track of dropped counts no matter what.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc/rtc-rp5c01.c')
0 files changed, 0 insertions, 0 deletions