[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140331.162519.2285405045402915587.davem@davemloft.net>
Date: Mon, 31 Mar 2014 16:25:19 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: decot@...glers.com
Cc: jhs@...atatu.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
edumazet@...gle.com, ebiederm@...ssion.com, chenweilong@...wei.com,
jiri@...nulli.us, amirv@...lanox.com, mwdalton@...gle.com,
viro@...IV.linux.org.uk, tj@...nel.org
Subject: Re: [PATCH net-next v2] net-sysfs: expose number of carrier on/off
changes
From: David Decotigny <decot@...glers.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@...glers.com>
Looks good, applied, thanks David.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists