1. 25 4月, 2008 2 次提交
    • A
      e1000e: Add interrupt moderation run-time ethtool interface · de5b3077
      Auke Kok 提交于
      The ethtool -c / -C interface can now be used to modify the
      irq moderation algorithm. This change does not require an
      adapter reset and can thus be used at all times. The adapter
      only supports changing/reading rx-usecs which has special
      values for 0, 1 and 3:
      
      0 - no irq moderation whatsoever
      1 - normal moderation favoring regular mixed traffic (default)
      3 - best attempt at low latency possible at cost of CPU
      
      For values between 10 and 10000 the rx-usecs defines "the minimum
      time between successive irqs" in usec, unlike the module parameter.
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      de5b3077
    • B
      e1000e: cleanup several stats issues · 7c25769f
      Bruce Allan 提交于
      Several stats registers are completely unused and we just waste pci
      bus time reading them. We also omit using the high 32 bits of the GORC/
      GOTC counters. We can just read clear them and only read the low registers.
      
      Mii-tool can also break es2lan if it executes a MII PHY register
      ioctl while the device is in autonegotiation. Unfortunately it seems
      that several applications and installations still perform this ioctl
      call periodically and especially in this crucial startup time. We
      can fool the ioctl by providing fail safe information that mimics
      the "down" link state and only perform the dangerous PHY reads once
      after link comes up to fill in the real values. As long as link
      stays up the information will not change.
      Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      7c25769f
  2. 17 4月, 2008 1 次提交
  3. 29 3月, 2008 3 次提交
  4. 26 3月, 2008 2 次提交
  5. 24 2月, 2008 1 次提交
  6. 29 1月, 2008 1 次提交
    • A
      e1000e: Disable L1 ASPM power savings for 82573 mobile variants · 1eae4eb2
      Auke Kok 提交于
      L1 ASPM link (pci-e link power savings) has significant benefits
      (~1W savings when link is active) but unfortunately does not work
      correctly on any of the chipsets that have 82573 on mobile platforms
      which causes various nuisances:
       - eeprom reads return garbage information leading to bad eeprom
         checksums
       - long ping times (up to 2 seconds)
       - complete system hangs (freeze/lockup)
      
      A lot of T60 owners have been plagued by this, but other mobile
      solutions also suffer from these symptoms.
      
      Disabling L1 ASPM before we activate the PCI-E link fixes all of
      these issues at the cost of some power consumption.
      
      Remove a workaround RDTR adjustment that is no longer needed with
      this new one.
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      1eae4eb2
  7. 29 10月, 2007 2 次提交
  8. 11 10月, 2007 1 次提交
    • A
      [E1000E]: New pci-express e1000 driver (currently for ICH9 devices only) · bc7f75fa
      Auke Kok 提交于
      This driver implements support for the ICH9 on-board LAN ethernet
      device. The device is similar to ICH8.
      
      The driver encompasses code to support 82571/2/3, es2lan and ICH8
      devices as well, but those device IDs are disabled and will be
      "lifted" from the e1000 driver over one at a time once this driver
      receives some more live time.
      
      Changes to the last snapshot posted are exclusively in the internal
      hardware API organization. Many thanks to Jeff Garzik for jumping in
      and getting this organized with a keen eye on the future layout.
      
      [ Integrated napi_struct patch from Auke as well... -DaveM ]
      Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bc7f75fa