aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/switchdev.h
diff options
context:
space:
mode:
authorTristram Ha <Tristram.Ha@microchip.com>2019-02-22 16:36:48 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-24 17:49:59 -0800
commit7c6ff470aa867f53b8522a3a5c84c36ac7a20090 (patch)
tree84c02ceed3dc03618f080a027f2418c4a14f52ae /include/net/switchdev.h
parentnet: dsa: microchip: prepare PHY for proper advertisement (diff)
downloadwireguard-linux-7c6ff470aa867f53b8522a3a5c84c36ac7a20090.tar.xz
wireguard-linux-7c6ff470aa867f53b8522a3a5c84c36ac7a20090.zip
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 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions