[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKgT0UfAawN49bc5kWjnynHhA4rBddQOJ320SdaK57yDCNFb_A@mail.gmail.com>
Date: Fri, 29 Jul 2016 21:35:21 -0700
From: Alexander Duyck <alexander.duyck@...il.com>
To: Dominic Curran <dominic.curran@...rix.com>,
"e1000-devel@...ts.sourceforge.net"
<e1000-devel@...ts.sourceforge.net>
Cc: Netdev <netdev@...r.kernel.org>
Subject: Re: igb: question regarding auto-negotiation
On Fri, Jul 29, 2016 at 4:37 PM, Dominic Curran
<dominic.curran@...rix.com> wrote:
> Hi
>
> This question refers to igb codebase.
> I have a question regarding the setting of hw->mac.autoneg.
>
> Is it correct to say for igb driver:
> "if speed=1000 and duplex=FULL and media_type=COPPER then only
> auto-negotiate enable is supported"
>
> i.e.
> with these settings (speed/duplex/media_type) then auto-negotiate can
> _not_ be disabled. Correct ?
>
> I say this for two reasons:
> 1) The code in igb_set_spd_dplx() seems to indicate it:
>
> case SPEED_1000 + DUPLEX_FULL:
> mac->autoneg = 1;
> adapter->hw.phy.autoneg_advertised = ADVERTISE_1000_FULL;
> break;
>
> 2) Instrumenting the driver, I always see the autoneg code in
> e1000_check_for_copper_link_generic() get called after an igb_reset().
>
>
> Have i understood correctly ?
>
> thanks in advance
> dom
If you are using copper then you are likely referring to 1000Base-T
correct? If so then autonegotation is a requirement.
Here is the wikipedia URL that refers to this:
https://en.wikipedia.org/wiki/Gigabit_Ethernet#1000BASE-T
Hope this helps to clear it up.
Thanks.
- Alex
Powered by blists - more mailing lists