diff options
author | Tristram Ha <Tristram.Ha@microchip.com> | 2019-02-22 16:36:48 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 17:49:59 -0800 |
commit | 7c6ff470aa867f53b8522a3a5c84c36ac7a20090 (patch) | |
tree | 84c02ceed3dc03618f080a027f2418c4a14f52ae /lib/fdt.c | |
parent | 42fc6a4c613019666f2fd11bc0b542cf2f4dae24 (diff) |
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 'lib/fdt.c')
0 files changed, 0 insertions, 0 deletions