[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140329183628.509f1239@nehalam.linuxnetplumber.net>
Date: Sat, 29 Mar 2014 18:36:28 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: David Decotigny <decot@...glers.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Jamal Hadi Salim <jhs@...atatu.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Eric Dumazet <edumazet@...gle.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Weilong Chen <chenweilong@...wei.com>,
Jiri Pirko <jiri@...nulli.us>, Amir Vadai <amirv@...lanox.com>,
Michael Dalton <mwdalton@...gle.com>,
Al Viro <viro@...IV.linux.org.uk>, Tejun Heo <tj@...nel.org>
Subject: Re: [PATCH net-next v2] net-sysfs: expose number of carrier on/off
changes
On Sat, 29 Mar 2014 09:48:35 -0700
David Decotigny <decot@...glers.com> wrote:
> 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>
Is there a related SNMP MIB variable? should there be?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists