1. 17 11月, 2011 5 次提交
  2. 05 11月, 2011 1 次提交
  3. 19 10月, 2011 1 次提交
  4. 14 10月, 2011 1 次提交
  5. 08 10月, 2011 1 次提交
  6. 07 10月, 2011 1 次提交
  7. 27 9月, 2011 1 次提交
    • S
      sky2: manage irq better on single port card · 0bdb0bd0
      stephen hemminger 提交于
      Most sky2 hardware only has a single port, although some variations of the
      chip support two interfaces.  For the single port case, use the standard
      Ethernet driver convention of allocating IRQ when device is brought up
      rather than at probe time.
      
      Also, change the error handling of dual port cards so that if second
      port can not be brought up, then just fail. No point in continuing, since
      the failure is most certainly because of out of memory.
      
      The dual port sky2 device has a single irq and a single status ring,
      therefore it has a single NAPI object shared by both ports.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0bdb0bd0
  8. 23 9月, 2011 1 次提交
  9. 18 8月, 2011 1 次提交
  10. 12 8月, 2011 1 次提交
  11. 08 7月, 2011 4 次提交
  12. 07 7月, 2011 1 次提交
  13. 28 6月, 2011 1 次提交
  14. 07 6月, 2011 1 次提交
  15. 30 4月, 2011 2 次提交
  16. 15 4月, 2011 1 次提交
    • A
      ethtool: allow custom interval for physical identification · fce55922
      Allan, Bruce W 提交于
      When physical identification of an adapter is done by toggling the
      mechanism on and off through software utilizing the set_phys_id operation,
      it is done with a fixed duration for both on and off states.  Some drivers
      may want to set a custom duration for the on/off intervals.  This patch
      changes the API so the return code from the driver's entry point when it
      is called with ETHTOOL_ID_ACTIVE can specify the frequency at which to
      cycle the on/off states, and updates the drivers that have already been
      converted to use the new set_phys_id and use the synchronous method for
      identifying an adapter.
      
      The physical identification frequency set in the updated drivers is based
      on how it was done prior to the introduction of set_phys_id.
      
      Compile tested only.  Also fixes a compiler warning in sfc.
      
      v2: drivers do not return -EINVAL for ETHOOL_ID_ACTIVE
      v3: fold patchset into single patch and cleanup per Ben's feedback
      Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
      Cc: Ben Hutchings <bhutchings@solarflare.com>
      Cc: Sathya Perla <sathya.perla@emulex.com>
      Cc: Subbu Seetharaman <subbu.seetharaman@emulex.com>
      Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
      Cc: Michael Chan <mchan@broadcom.com>
      Cc: Eilon Greenstein <eilong@broadcom.com>
      Cc: Divy Le Ray <divy@chelsio.com>
      Cc: Don Fry <pcnet32@frontier.com>
      Cc: Jon Mason <jdmason@kudzu.us>
      Cc: Solarflare linux maintainers <linux-net-drivers@solarflare.com>
      Cc: Steve Hodgson <shodgson@solarflare.com>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Matt Carlson <mcarlson@broadcom.com>
      Acked-by: NJon Mason <jdmason@kudzu.us>
      Acked-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fce55922
  17. 13 4月, 2011 1 次提交
  18. 07 4月, 2011 1 次提交
  19. 31 3月, 2011 1 次提交
  20. 15 3月, 2011 1 次提交
  21. 10 1月, 2011 2 次提交
  22. 02 1月, 2011 1 次提交
    • S
      sky2: implement 64 bit stats · 0885a30b
      stephen hemminger 提交于
      This implements 64 bit statistics support and fixes races when reading
      counter values. The PHY counters can only be accessed 16 bits at a time,
      so they are subject to carry races.
      
      NB:
        * TX/RX counters are maintained in software because the the hardware packet count
          is only a 32 bit value.
      
        * Error counters are really only 32 bit.
      
        * Old 32 bit counter fields in dev->stats still used for some
          software counters
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0885a30b
  23. 01 1月, 2011 1 次提交
    • R
      sky2: Do not use legacy PCI power management · 0f333d10
      Rafael J. Wysocki 提交于
      The sky2 driver uses the legacy PCI power management, so it has to do
      some PCI-specific things in its ->suspend() and ->resume() callbacks,
      which isn't necessary and should better be done by the PCI
      sybsystem-level power management code.  Moreover, it uses
      device_set_wakeup_enable() incorrectly (that function should be
      used when the WoL setting is changed rather than during suspend).
      
      Convert sky2 to the new PCI power management framework and make it
      let the PCI subsystem take care of all the PCI-specific aspects of
      device handling during system power transitions.
      
      Tested on a desktop machine with a Marvell 88E8056 PCI-E adapter.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0f333d10
  24. 24 12月, 2010 1 次提交
  25. 21 10月, 2010 1 次提交
  26. 16 9月, 2010 1 次提交
  27. 03 9月, 2010 1 次提交
  28. 02 9月, 2010 1 次提交
    • S
      sky2: don't do GRO on second port · de6be6c1
      stephen hemminger 提交于
      There's something very important I forgot to tell you.
       What?
      
       Don't cross the GRO streams.
       Why?
      
       It would be bad.
       I'm fuzzy on the whole good/bad thing. What do you mean, "bad"?
      
       Try to imagine all the Internet as you know it stopping instantaneously
        and every bit in every packet swapping at the speed of light.
       Total packet reordering.
       Right. That's bad. Okay. All right. Important safety tip. Thanks, Hubert
      
      The simplest way to stop this is just avoid doing GRO on the second port.
      Very few Marvell boards support two ports per ring, and GRO is just
      an optimization.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      de6be6c1
  29. 31 7月, 2010 1 次提交
  30. 01 7月, 2010 1 次提交
  31. 24 6月, 2010 1 次提交