netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* igb: question regarding auto-negotiation
@ 2016-07-29 23:37 Dominic Curran
  2016-07-30  4:35 ` Alexander Duyck
  0 siblings, 1 reply; 4+ messages in thread
From: Dominic Curran @ 2016-07-29 23:37 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-04 23:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-29 23:37 igb: question regarding auto-negotiation Dominic Curran
2016-07-30  4:35 ` Alexander Duyck
2016-08-04 23:01   ` Dominic Curran
2016-08-04 23:16     ` [E1000-devel] " Pieper, Jeffrey E

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).