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
..
2018-01-22 15:42:05 -05:00
2017-10-11 15:38:10 +02:00
2018-01-14 09:51:25 -08:00
2017-09-22 21:57:09 +02:00
2017-12-12 11:45:19 +00:00
2017-11-14 20:13:33 -07:00
2017-09-07 21:11:05 -07:00
2017-12-06 14:32:42 -08:00
2017-10-12 11:25:31 -06:00
2017-12-02 08:41:46 -07:00
2017-11-08 23:41:25 +01:00
2017-11-03 22:11:23 +08:00
2017-11-17 17:51:33 -08:00
2017-10-05 16:21:30 -04:00
2018-01-16 15:11:32 +01:00
2017-10-19 12:57:10 -06:00
2017-12-03 15:11:45 -07:00
2017-11-17 20:04:24 -08:00
2018-01-12 17:33:38 -08:00
2017-11-08 03:39:52 -07:00
2017-10-03 14:40:22 -06:00
2018-01-13 10:42:48 -08:00
2017-11-09 09:38:42 +01:00
2018-01-02 17:21:51 +02:00
2017-10-12 11:14:06 -06:00
2017-11-05 06:06:33 -08:00
2017-10-05 14:44:56 +02:00
2017-11-18 11:32:27 +09:00
2017-07-25 19:56:23 +01:00
2017-08-29 08:30:21 -04:00
2017-10-12 11:14:06 -06:00
2018-01-06 02:31:23 +09:00
2017-10-12 11:13:28 -06:00
2017-10-23 20:17:03 +02:00
2017-10-19 10:08:56 +02:00
2017-12-12 12:38:51 +01:00
2017-11-01 21:32:25 -07:00
2017-11-30 04:19:04 -05:00
2018-01-11 22:13:42 -05:00
2017-08-24 13:31:58 -06:00
2017-10-30 21:37:53 +09:00
2017-10-19 17:06:34 +01:00
2017-11-16 22:51:22 +01:00
2017-09-08 18:26:51 -07:00
2017-11-23 21:01:32 -10:00
2017-11-13 12:18:10 -08:00
2017-11-16 09:00:35 +01:00
2017-12-02 08:43:43 -07:00
2017-11-15 16:38:44 +00:00
2017-11-14 18:01:46 -08:00
2017-08-31 13:36:28 -06:00
2017-07-17 13:48:45 -06:00
2017-12-20 13:04:01 -05:00
2017-09-26 14:58:23 -06:00
2017-11-16 09:10:59 -08:00
2017-11-23 21:01:32 -10:00
2018-01-11 18:39:52 +01:00
2017-08-14 13:46:50 -07:00
2017-12-06 09:18:43 +01:00
2017-12-14 16:00:48 -08:00
2017-10-04 10:29:22 +02:00
2017-10-19 12:58:21 -06:00
2018-01-14 09:51:25 -08:00
2017-08-10 12:29:00 +02:00
2017-08-25 11:06:33 +02:00
2017-12-05 11:47:17 -08:00
2017-11-17 16:10:00 -08:00
2017-09-08 10:02:55 -06:00
2017-09-01 11:59:17 +02:00
2017-08-19 11:02:53 -07:00
2017-07-29 09:01:02 -04:00
2017-09-27 16:03:45 -05:00
2017-10-20 11:02:55 +02:00
2017-10-12 11:07:42 -06:00
2017-11-13 12:38:26 -08:00
2017-10-19 12:56:44 -06:00
2017-11-29 12:13:14 +11:00
2017-09-08 18:26:48 -07:00
2017-08-10 12:28:59 +02:00
2017-11-20 10:45:50 -07:00
2017-11-18 20:37:13 -05:00