From: Rick Jones <rick.jones2@hp.com>
To: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Cc: "Kok, Auke" <auke-jan.h.kok@intel.com>,
Matt Mathis <mathis@psc.edu>, NetDev <netdev@vger.kernel.org>
Subject: Re: e1000 driver problems
Date: Tue, 04 Dec 2007 10:05:13 -0800 [thread overview]
Message-ID: <475596D9.10808@hp.com> (raw)
In-Reply-To: <47558C0F.9000708@intel.com>
Here is some boilerplate on autoneg which I've been using in other
forums for a number of years when questions about autoneg vs hardcoding
and duplex-mismatch arise:
How 100Base-T Autoneg is supposed to work:
When both sides of the link are set to autoneg, they will "negotiate"
the duplex setting and select full-duplex if both sides can do
full-duplex.
If one side is hardcoded and not using autoneg, the autoneg process
will "fail" and the side trying to autoneg is required by spec to use
half-duplex mode.
If one side is using half-duplex, and the other is using full-duplex,
sorrow and woe is the usual result.
So, the following table shows what will happen given various settings
on each side:
Auto Half Full
Auto Happiness Lucky Sorrow
Half Lucky Happiness Sorrow
Full Sorrow Sorrow Happiness
Happiness means that there is a good shot of everything going well.
Lucky means that things will likely go well, but not because you did
anything correctly :) Sorrow means that there _will_ be a duplex
mis-match.
When there is a duplex mismatch, on the side running half-duplex you
will see various errors and probably a number of _LATE_ collisions
("normal" collisions don't count here). On the side running
full-duplex you will see things like FCS errors. Note that those
errors are not necessarily conclusive, they are simply indicators.
Further, it is important to keep in mind that a "clean" ping (or the
like - eg "linkloop" or default netperf TCP_RR) test result is
inconclusive here - a duplex mismatch causes lost traffic _only_ when
both sides of the link try to speak at the same time. A typical ping
test, being synchronous, one at a time request/response, never tries
to have both sides talking at the same time.
Finally, when/if you migrate to 1000Base-T, everything has to be set
to auto-neg anyway.
rick jones
next prev parent reply other threads:[~2007-12-04 18:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20061017205316.25914.qmail@web83109.mail.mud.yahoo.com>
[not found] ` <45354850.6050900@intel.com>
[not found] ` <20071120143803.GA5638@ics.muni.cz>
[not found] ` <474B5610.4030800@intel.com>
[not found] ` <20071127150700.GB4365@ics.muni.cz>
[not found] ` <474C4A74.90705@intel.com>
[not found] ` <20071127173146.GG4365@ics.muni.cz>
2007-11-27 17:40 ` e1000 driver problems Kok, Auke
2007-11-27 17:44 ` Lukas Hejtmanek
2007-11-27 18:23 ` Kok, Auke
2007-12-03 9:50 ` Lukas Hejtmanek
2007-12-03 15:20 ` Kok, Auke
2007-12-04 15:03 ` Lukas Hejtmanek
2007-12-04 15:34 ` Lukas Hejtmanek
2007-12-04 16:02 ` Matt Mathis
2007-12-04 17:08 ` Lukas Hejtmanek
2007-12-04 17:19 ` Kok, Auke
2007-12-04 18:05 ` Rick Jones [this message]
2007-12-04 19:59 ` Lukas Hejtmanek
2007-12-04 20:38 ` Kok, Auke
2007-12-18 11:08 ` Lukas Hejtmanek
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=475596D9.10808@hp.com \
--to=rick.jones2@hp.com \
--cc=auke-jan.h.kok@intel.com \
--cc=mathis@psc.edu \
--cc=netdev@vger.kernel.org \
--cc=xhejtman@ics.muni.cz \
/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).