public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: WANG Cong <xiyou.wangcong@gmail•com>
To: netdev@vger•kernel.org
Subject: Re: [patch net-next-2.6] bonding: allow resetting slave failure counters
Date: Wed, 1 Jun 2011 13:51:25 +0000 (UTC)	[thread overview]
Message-ID: <is5g4s$1h6$1@dough.gmane.org> (raw)
In-Reply-To: 1306921249-3623-1-git-send-email-jpirko@redhat.com

On Wed, 01 Jun 2011 11:40:49 +0200, Jiri Pirko wrote:

> This patch allows to reset failure counters for all enslaved devices.
> 
> Signed-off-by: Jiri Pirko <jpirko@redhat•com>
> ---
>  Documentation/networking/bonding.txt |    7 +++++++
>  drivers/net/bonding/bond_sysfs.c     |   27 +++++++++++++++++++++++++++
>  2 files changed, 34 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/networking/bonding.txt
> b/Documentation/networking/bonding.txt index 675612f..2f51d73 100644
> --- a/Documentation/networking/bonding.txt +++
> b/Documentation/networking/bonding.txt @@ -782,6 +782,13 @@ resend_igmp
>  
>  	This option was added for bonding version 3.7.0.
>  
> +reset_failure_counters
> +
> +	This write-only control file will zero failure counters for +	all
> slaves.  Note there is no appropriate module parameter for this 
> +	since
> it would not make much sense. +	Write any value to perform reset.
> +

Writing any value includes zero will work? I think only non-zero
number makes sense, if we write zero, nothing should happen.

Thanks.


      parent reply	other threads:[~2011-06-01 13:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-01  9:40 [patch net-next-2.6] bonding: allow resetting slave failure counters Jiri Pirko
2011-06-01 13:28 ` Flavio Leitner
2011-06-01 13:53   ` Jiri Pirko
2011-06-01 16:13     ` Jay Vosburgh
2011-06-01 16:31       ` [patch net-next-2.6 v2] " Jiri Pirko
2011-06-01 16:41         ` Flavio Leitner
2011-06-01 19:23         ` Nicolas de Pesloüan
2011-06-01 20:08           ` Jiri Pirko
2011-06-01 20:12             ` David Miller
2011-06-01 20:27               ` Jiri Pirko
2011-06-01 19:03       ` [patch net-next-2.6] " David Miller
2011-06-01 19:11         ` Flavio Leitner
2011-06-01 19:22           ` David Miller
2011-06-01 19:53             ` Jay Vosburgh
2011-06-01 20:22             ` Flavio Leitner
2011-06-01 19:34           ` Nicolas de Pesloüan
2011-06-01 20:07             ` Jiri Pirko
2011-06-01 13:51 ` WANG Cong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='is5g4s$1h6$1@dough.gmane.org' \
    --to=xiyou.wangcong@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox