Skip to content
Snippets Groups Projects
  1. May 25, 2011
  2. May 24, 2011
  3. May 22, 2011
  4. May 18, 2011
  5. May 16, 2011
  6. May 05, 2011
  7. Apr 23, 2011
  8. Apr 18, 2011
  9. Apr 17, 2011
  10. Apr 14, 2011
    • Allan, Bruce W's avatar
      ethtool: allow custom interval for physical identification · fce55922
      Allan, Bruce W authored
      
      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: default avatarBruce 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: default avatarJon Mason <jdmason@kudzu.us>
      Acked-by: default avatarBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fce55922
  11. Apr 12, 2011
    • Michał Mirosław's avatar
      net: bnx2x: convert to hw_features · 66371c44
      Michał Mirosław authored
      
      Since ndo_fix_features callback is postponing features change when
      bp->recovery_state != BNX2X_RECOVERY_DONE, netdev_update_features()
      has to be called again when this condition changes. Previously,
      ethtool_ops->set_flags callback returned -EBUSY in that case
      (it's not possible in the new model).
      
      Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
      
      v5: - don't delay set_features, as it's rtnl_locked - same as recovery process
      v4: - complete bp->rx_csum -> NETIF_F_RXCSUM conversion
          - add check for failed ndo_set_features in ndo_open callback
      v3: - include NETIF_F_LRO in hw_features
          - don't call netdev_update_features() if bnx2x_nic_load() failed
      v2: - comment in ndo_fix_features callback
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      66371c44
  12. Apr 06, 2011
  13. Mar 31, 2011
  14. Mar 14, 2011
  15. Mar 06, 2011
  16. Feb 28, 2011
Loading