Hi Emil, Thanks for your reply. We forced both sides to 1000/F and set one side to be Master and the other side Slave.
We are trying to follow the description in the Intel's PCI/PCI-X Family of Gigabit Ethernet Controllers Software Developers Manual 82540EP/EM, 82541xx, 82544GC/EI, 82545GM/EM, 82546GB/EB, and 82547xx Rev. 3.9 --------------------- In there it says: 11.6.2 Forced Operation: Forced operation can be used to establish 10 and 100 links, and 1000 links for test purposes. In this method, Auto-Negotiation is disabled completely and the link state of the PHY is determined by PHY register 0d. Note: When speed is forced, the MDI/MDI-X crossover feature is not functional. In forced operation, the programmer sets the link speed (10, 100, or 1000) and duplex state (full or half). For Gigabit (1000) links, the programmer must explicitly designate one side as the Master and the other as the slave. --------------------- Are you saying then, that for the e1000 1Gb NICs, auto-neg will always occur and there is no way to get around it? Also do you know how long the training phase can take after the link state has been established? This is what is written in the manual: ---------------------------- 11.7.1 1000BASE-T For 1000BASE-T links, the PHY and its link partner enter a training phase. They exchange idle symbols and use the information gained to set their adaptive filter coefficients. Either side indicates completion of the training phase to its link partner by changing the encoding of the idle symbols it transmits. When both sides so indicate, the link is up. Each side continues sending idle symbols whenever it has no data to transmit. The link is maintained as long as valid idle, data, or carrier extension symbols are received. --------------------------- Thanks for your time, Mike On Fri, 13 Mar 2009, Tantilov, Emil S wrote: > When you "force" the link - are you forcing at 1000/Full? If so then the link > will still be negotiated (limited to only 1000/F) since there is no such > thing as forced GB. > > You can try forcing the speed at 100/F and check if that makes a difference > (although this may not be the speed/duplex you want). > > Thanks, > Emil > > -----Original Message----- > From: Michael Le [mailto:m...@cs.ucla.edu] > Sent: Friday, March 13, 2009 1:49 PM > To: e1000-devel@lists.sourceforge.net > Cc: Andrew Gallagher > Subject: [E1000-devel] e1000 fast reset > > Hi, > > As part of recovering from a failed NIC driver (in this case e1000), we > would like to reset the device as quickly as possible to allow almost > uninterrupted packet flow. > > We are using the following devices and driver: > e1000 driver e1000-7.5.5. > e1000 NIC we are using is 80003ES2LAN Gigabit Ethernet > (Copper) (rev 01). We are using a 1Gb switch. > >> From preliminary measurements, it looks like maybe bringing the > link down then up is taking a long time, possibly because > of auto-negotiation. We invoked e1000_down then e1000_up. > > So we tried forcing the link state by using a cross-over cable > to connect 2 e1000 NICs on two different machines. One machine was > set to master and the other slave mode. We set both to (1000 Mbs, > full duplex, autoneg off). Connection was established and we could > ping. However, when we bring the NIC on one side down then up, > link was not established until after a long delay (1.8s) > > Forcing the link state should not cause autoneg to occur, > what other activities can delay the link to go from down to up? > Does the training phase of a 1Gb card have anything to do > with the delay? > > > Thanks, > Michael Le > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > E1000-devel mailing list > E1000-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/e1000-devel > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel