From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: dcbw@redhat.com, klassert@mathematik.tu-chemnitz.de,
jdelvare@suse.de, fubar@us.ibm.com, netdev@vger.kernel.org
Subject: Re: [PATCH] 3c59x: shorten timer period for slave devices
Date: Tue, 14 Feb 2012 16:28:05 -0500 (EST) [thread overview]
Message-ID: <20120214.162805.235395266188685036.davem@davemloft.net> (raw)
In-Reply-To: <1329253376.2555.14.camel@edumazet-laptop>
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 14 Feb 2012 22:02:56 +0100
> Le mardi 14 février 2012 à 14:51 -0600, Dan Williams a écrit :
>> On Tue, 2012-02-14 at 21:27 +0100, Eric Dumazet wrote:
>> > Jean Delvare reported bonding on top of 3c59x adapters was not detecting
>> > network cable removal fast enough.
>> >
>> > 3c59x indeed uses a 60 seconds timer to check link status if carrier is
>> > on, and 5 seconds if carrier is off.
>> >
>> > This patch reduces timer period to 5 seconds if device is a bonding
>> > slave.
>>
>> Maybe for posterity give some rationale as to why we feel we can reduce
>> it to 5 seconds for slaves instead of reducing the timer period in
>> general? If you weren't party to this discussion that won't be apparent
>> from the commit log.
>
> Apparently, Andrew Morton considered firing a timer every 5 seconds was
> too expensive. I am not sure we want to state this (probably old fact)
> in the changelog. Anyway are these slow NICS still used in 2011 ? ;)
At least Jean Delvare is :-)
I'm going to apply this as-is, if you configure bonding on one of these
chips you expect it to work. And working is more important than optimal.
next prev parent reply other threads:[~2012-02-14 21:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 21:53 bonding with 3c59x driver Jean Delvare
2012-02-13 22:13 ` Jay Vosburgh
2012-02-14 10:22 ` Jean Delvare
2012-02-14 10:35 ` Steffen Klassert
2012-02-14 10:44 ` David Laight
2012-02-14 11:06 ` Steffen Klassert
2012-02-14 11:13 ` Eric Dumazet
2012-02-14 12:50 ` Jean Delvare
2012-02-14 13:34 ` Steffen Klassert
2012-02-14 19:43 ` David Miller
2012-02-14 20:27 ` [PATCH] 3c59x: shorten timer period for slave devices Eric Dumazet
2012-02-14 20:51 ` Dan Williams
2012-02-14 21:02 ` Eric Dumazet
2012-02-14 21:28 ` David Miller [this message]
2012-02-14 18:27 ` bonding with 3c59x driver Rick Jones
2012-02-14 19:27 ` Jean Delvare
2012-02-14 21:06 ` Chris Friesen
2012-02-15 9:53 ` Jean Delvare
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=20120214.162805.235395266188685036.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dcbw@redhat.com \
--cc=eric.dumazet@gmail.com \
--cc=fubar@us.ibm.com \
--cc=jdelvare@suse.de \
--cc=klassert@mathematik.tu-chemnitz.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).