Subject: Re: [patch net-next-2.6 v2] bonding: allow resetting slave failure counters

From: Jiri Pirko <[email-masked]>
Date: Wed, 1 Jun 2011 22:08:55 +0200

Wed, Jun 01, 2011 at 09:23:11PM CEST, [email-masked] wrote:
>Le 01/06/2011 18:31, Jiri Pirko a écrit :
>>This patch allows to reset failure counters for all enslaved devices.
>
>Hi Jiri,
>
>Why do we need a way to reset those counters? What is the problem
>with having those counters monotonically increase until the system is
>rebooted? Do we have a way to reset other network statistics
>(/sys/class/net/eth0/statistics/* for example)?

Well, it's handy to be able to clear this counters when you resolve
a problem so future issues are crearly seen as non-zero.				   
				   
>
>Except from this "do we need this feature" question, the code sounds good to me.
>
>Reviewed-by: Nicolas de Pesloüan <[email-masked]>
>
>	Nicolas.