1. 22 10月, 2012 1 次提交
  2. 30 9月, 2012 1 次提交
  3. 26 7月, 2012 1 次提交
  4. 12 7月, 2012 1 次提交
  5. 19 5月, 2012 1 次提交
  6. 03 5月, 2012 2 次提交
  7. 27 4月, 2012 1 次提交
  8. 26 4月, 2012 1 次提交
  9. 24 4月, 2012 1 次提交
  10. 20 3月, 2012 1 次提交
  11. 13 2月, 2012 1 次提交
    • S
      be2net: event queue re-design · 10ef9ab4
      Sathya Perla 提交于
      v2: Fixed up the bad typecasting pointed out by David...
      
      In the current design 8 TXQs are serviced by 1 EQ, while each RSS queue
      is serviced by a separate EQ. This is being changed as follows:
      
      - Upto 8 EQs will be used (based on the availabilty of msix vectors).
      Each EQ will handle 1 RSS and 1 TX ring. The default non-RSS RX queue and
      MCC queue are handled by the last EQ.
      
      - On cards which provide support, upto 8 RSS rings will be used, instead
      of the current limit of 4.
      
      The new design allows spreading the TX multi-queue completion processing
      across multiple CPUs unlike the previous design.
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      10ef9ab4
  12. 02 2月, 2012 2 次提交
  13. 31 12月, 2011 1 次提交
  14. 14 12月, 2011 1 次提交
  15. 17 11月, 2011 2 次提交
  16. 09 11月, 2011 1 次提交
  17. 28 9月, 2011 1 次提交
  18. 11 8月, 2011 1 次提交
  19. 03 8月, 2011 2 次提交
  20. 01 8月, 2011 2 次提交
    • S
      be2net: use stats-sync to read/write 64-bit stats · ab1594e9
      Sathya Perla 提交于
      64-bit stats in be2net are written/read as follows using the stats-sync
      interface for safe access in 32-bit archs:
      
      64-bit 		sync			writer			reader
      stats
      ------------------------------------------------------------------------------
      tx_stats	tx_stats->sync		be_xmit			be_get_stats64,
      								ethtool
      tx-compl	tx_stats->sync_compl	tx-compl-processing	ethtool
      rx-stats	rx_stats->sync		rx-compl-processing	be_get_stats64,
      								ethtool,
      								eqd-update
      
      This patch is based on Stephen Hemminger's earlier patch on the same issue...
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab1594e9
    • S
      be2net: cleanup and refactor stats code · ac124ff9
      Sathya Perla 提交于
      In preparation for 64-bit stats interface, the following cleanups help
      streamline the code:
      1) made some more rx/tx stats stored by driver 64 bit
      2) made some HW stas (err/drop counters) stored in be_drv_stats 32 bit to
         keep the code simple as BE provides 32-bit counters only.
      3) removed duplication of netdev stats in ethtool
      4) removed some un-necessary stats and fixed some names
      Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac124ff9
  21. 13 7月, 2011 1 次提交
  22. 22 6月, 2011 1 次提交
  23. 17 6月, 2011 1 次提交
  24. 17 5月, 2011 1 次提交
  25. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  26. 20 4月, 2011 3 次提交
  27. 18 4月, 2011 2 次提交
  28. 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
  29. 08 4月, 2011 2 次提交
  30. 07 4月, 2011 1 次提交
  31. 31 3月, 2011 1 次提交