lkml.org 
[lkml]   [2014]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next v2] net-sysfs: expose number of carrier on/off changes
From
From: David Decotigny <decot@googlers.com>
Date: Sat, 29 Mar 2014 09:48:35 -0700

> This allows to monitor carrier on/off transitions and detect link
> flapping issues:
> - new /sys/class/net/X/carrier_changes
> - new rtnetlink IFLA_CARRIER_CHANGES (getlink)
>
> Tested:
> - grep . /sys/class/net/*/carrier_changes
> + ip link set dev X down/up
> + plug/unplug cable
> - updated iproute2: prints IFLA_CARRIER_CHANGES
> - iproute2 20121211-2 (debian): unchanged behavior
>
> Signed-off-by: David Decotigny <decot@googlers.com>

Looks good, applied, thanks David.


\
 
 \ /
  Last update: 2014-03-31 23:01    [W:0.191 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site