David Decotigny b2d3bcfa26 net: core: Expose number of link up/down transitions
Expose the number of times the link has been going UP or DOWN, and
update the "carrier_changes" counter to be the sum of these two events.
While at it, also update the sysfs-class-net documentation to cover:
carrier_changes (3.15), carrier_up_count (4.16) and carrier_down_count
(4.16)

Signed-off-by: David Decotigny <decot@googlers.com>
[Florian:
* rebase
* add documentation
* merge carrier_changes with up/down counters]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-22 15:42:05 -05:00
..
2017-09-22 21:57:09 +02:00
2017-09-07 21:11:05 -07:00
2017-11-17 17:51:33 -08:00
2017-11-18 11:32:27 +09:00
2017-11-01 21:32:25 -07:00
2017-11-14 18:01:46 -08:00
2017-09-26 14:58:23 -06:00
2017-11-16 09:10:59 -08:00
2017-08-19 11:02:53 -07:00