Searched hist:"7 c6ff470aa867f53b8522a3a5c84c36ac7a20090" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.h | diff 7c6ff470aa867f53b8522a3a5c84c36ac7a20090 Fri Feb 22 18:36:48 CST 2019 Tristram Ha <Tristram.Ha@microchip.com> 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>
|
H A D | ksz9477.c | diff 7c6ff470aa867f53b8522a3a5c84c36ac7a20090 Fri Feb 22 18:36:48 CST 2019 Tristram Ha <Tristram.Ha@microchip.com> 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>
|
H A D | ksz_common.c | diff 7c6ff470aa867f53b8522a3a5c84c36ac7a20090 Fri Feb 22 18:36:48 CST 2019 Tristram Ha <Tristram.Ha@microchip.com> 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>
|