public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: "Michal Kubeček" <mkubecek@suse.cz>
To: Jay Vosburgh <fubar@us.ibm.com>
Cc: Flavio Leitner <fbl@redhat.com>,
	netdev@vger.kernel.org, Andy Gospodarek <andy@greyhouse.net>
Subject: Re: [PATCH v2] bonding: start slaves with link down for ARP monitor
Date: Tue, 17 Apr 2012 13:58:07 +0200	[thread overview]
Message-ID: <1343782.ObcgmM0SbX@alaris> (raw)
In-Reply-To: <1410525.5tCeY2AOxF@alaris>

On Monday 16 of April 2012 12:27EN, Michal Kubeček wrote:
> On Saturday 14 of April 2012 21:48EN, Jay Vosburgh wrote:
> > Anybody got a 10 or 100 card laying around with fast autoneg to
> > try?  Back in the day I used 3c59x and e100s, and I seem to recall
> > that the 3c59x board I had was pretty speedy at going carrier up.
> 
> It seems these cards are hard to find these days (I tried to find one
> in our office but no luck yet). However, I tried an onboard adapter
> with r8169 driver and patched kernel succeeded to detect carrier in
> time for bonding driver to start the slave in "up" state (and it
> started in "down" state with unplugged cable so that the detection is
> correct).

I tested few more cards:

- two 100 Mb/s Realtek 8139C and 8139D with 8139too driver:
  driver sets carrier on soon enough and slave starts with "up" and
  stays that way (same as r8169)

- 1 Gb/s Intel Pro/1000PT (82572EI) with e1000e driver:
  essentially the same as igb, driver is slow and patch prevents the
  up -> down -> up sequence by starting the slave in "down" state

- 100 Mb/s Intel (?) cards with DECchip Tulip 21142/3, tulip driver:
  card/driver either doesn't set the flag properly or is extremely slow
  with up -> down transition so that the state was "up" all the time
  no matter what the real link state was

I'll resend v3 with fixed style problem in a moment.

                                                        Michal Kubecek

  reply	other threads:[~2012-04-17 11:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-14 20:16 [PATCH v2] bonding: start slaves with link down for ARP monitor Michal Kubecek
2012-04-15  3:21 ` Flavio Leitner
2012-04-15  4:48   ` Jay Vosburgh
2012-04-15 18:07     ` Flavio Leitner
2012-04-16 10:27     ` Michal Kubeček
2012-04-17 11:58       ` Michal Kubeček [this message]
2012-04-18 12:32         ` Michal Kubeček

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=1343782.ObcgmM0SbX@alaris \
    --to=mkubecek@suse.cz \
    --cc=andy@greyhouse.net \
    --cc=fbl@redhat.com \
    --cc=fubar@us.ibm.com \
    --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