Hi there!

I'm writing and debugging a driver for the 82574L at the moment. It's
fun. I thought I would chat with this mailing list while I work, just
in case somebody thinks it would be fun to play along.

TDH and RDH aren't advancing and I'm not sure why. I've reset the NIC,
initialized the PHY, initialized the MAC, enabled TX and RX DMA,
written descriptors into memory, and advanced TDT and RDT. The other
end of the link is up and transmitting packets.

My mental model suggests that TDH and RDH should both be advancing. I
think this should happen even if my descriptors were garbage (?).

Any ideas? Here is my debug dump.

I'm enjoying debugging this myself but would welcome some tips too :).

MAC status
  STATUS      = 00080383
  Full Duplex = on
  Link Up     = on
  PHYRA       = off
  Speed       = 1000 Mb/s
Transmit status
  TCTL        = 0003f00a
  TXDCTL      = 01010000
  TX Enable   = on
  TDH         = 0
  TDT         = 10
  TDBAH       = 00000000
  TDBAL       = 10000000
  TDLEN       = 512
Receive status
  RCTL        = 0601003a
  RXDCTL      = 00010000
  RX Enable   = on
  RX Loopback = off
  RDH         = 0
  RDT         = 10
  RDBAH       = 00000000
  RDBAL       = 10100000
  RDLEN       = 512
PHY status
  Autonegotiate state    = complete
  Remote fault detection = no remote fault detected
  Copper Link Status     = copper link is up
  Speed and duplex resolved = on
  Speed                  = 1000Mb/s
  Duplex                 = full-duplex
  Advertise 1000 Mb/s FD = on
  Advertise 1000 Mb/s HD = off
  Advertise  100 Mb/s FD = on
  Advertise  100 Mb/s HD = on
  Advertise   10 Mb/s FD = on
  Advertise   10 Mb/s HD = on
  Partner   1000 Mb/s FD = on
  Partner   1000 Mb/s HD = off
  Partner    100 Mb/s FD = on
  Partner    100 Mb/s HD = on
  Partner     10 Mb/s FD = on
  Partner     10 Mb/s HD = on

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to