Re: [PATCH v4 net-next 2/5] net: dsa: microchip: add MIB counter reading support

2019-02-22 Thread Florian Fainelli
Le 2/22/19 à 4:36 PM, tristram...@microchip.com a écrit : > From: Tristram Ha > > 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 so

[PATCH v4 net-next 2/5] net: dsa: microchip: add MIB counter reading support

2019-02-22 Thread Tristram.Ha
From: Tristram Ha 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: