From: "Benjamin Li" <benli@broadcom.com>
To: "Joe Jin" <joe.jin@oracle.com>
Cc: "Michael Chan" <mchan@broadcom.com>,
"terry.liu@oracle.com" <terry.liu@oracle.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Broadcom 5709 take long time to bring up
Date: Wed, 18 Aug 2010 09:08:55 -0700 [thread overview]
Message-ID: <1282147735.3880.83.camel@localhost> (raw)
In-Reply-To: <20100818143432.GA29386@joejin-pc.cn.oracle.com>
Hi Joe,
Just a couple of quick questions:
1. It is possible that autonegotiation could take in the orders of
seconds depending on the remote partner. Could you describe the remote
partner?
2. Are there iSCSI offload connections? With iSCSI there is
additionial overhead to cleanup/setup iSCSI connections on the
chip/firmware when ifup'ing/ifdown'ing a network interface.
3. Could you provide the kernel logs during this up/down test? I
wanted to see if there was anything interesting in the kernel logs.
Thanks again.
-Ben
On Wed, 2010-08-18 at 07:34 -0700, Joe Jin wrote:
> Hi Michael,
>
> We try boning two broadcom 5709 nics with active-backup mode, we try to
> down/up one of the nics, I found some ping packets loss as below:
> # ifdown eth0
> # ifup eth0 <-- no pkg loss
> # ifdown eth1
> # ifup eth1 <-- 2 pkg loss
> # ifdown eth0
> # ifup eth0 <-- 10 pkg loss
> # ifdown eth1
> # ifup eth1 <-- no pkg loss
> # ifdown eth0
> # ifup eth0 <-- 10 pkg loss
>
> module bond parameter are:
> "mode=1 miimon=100 primary=eth0 downdelay=100 updelay=100"
>
> we have tried the latest driver(2.0.8c) of broadcom and Redhat el5.5
> official driver(2.0.2), result are same.
>
> I checked and debugged the driver found it caused by take long time(~3s)
> to bring up the device. here are link state when call if up:
> # ifdown eth0
> # ifup eth0
> #ip -o link | grep eth0
> 2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000\ link/ether 00:26:55:4f:1f:18 brd ff:ff:ff:ff:ff:ff
> # ifdown eth1
> # ifup eth1
> #ip -o link | grep eth1
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000\ link/ether 00:26:55:4f:1f:18 brd ff:ff:ff:ff:ff:ff
> # ifdown eth0
> # ifup eth0
> #ip -o link | grep eth0
> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000\ link/ether 00:26:55:4f:1f:18 brd ff:ff:ff:ff:ff:ff
> # ifdown eth1
> # ifup eth1
> #ip -o link | grep eth1
> 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000\ link/ether 00:26:55:4f:1f:18 brd ff:ff:ff:ff:ff:ff
> # ifdown eth0
> # ifup eth0
> #ip -o link | grep eth0
> 2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,SLAVE,UP> mtu 1500 qdisc pfifo_fast master bond0 qlen 1000\ link/ether 00:26:55:4f:1f:18 brd ff:ff:ff:ff:ff:ff
>
> So, the question is how long alway will take when bring up the interface?
> 3 seconds as expection or no? if not, is that a firmware issure or driver
> issue?
>
> Thanks,
> Joe
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2010-08-18 16:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 14:34 Broadcom 5709 take long time to bring up Joe Jin
2010-08-18 16:08 ` Benjamin Li [this message]
2010-08-18 20:44 ` Mitchell Erblich
2010-08-18 21:25 ` Rick Jones
2010-08-18 22:19 ` Ben Hutchings
2010-08-19 1:13 ` Joe Jin
2010-08-19 8:11 ` Joe Jin
2010-08-23 14:21 ` Joe Jin
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=1282147735.3880.83.camel@localhost \
--to=benli@broadcom.com \
--cc=joe.jin@oracle.com \
--cc=mchan@broadcom.com \
--cc=netdev@vger.kernel.org \
--cc=terry.liu@oracle.com \
/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).