1. 31 May, 2014 13 commits
    • David S. Miller's avatar
      Merge branch 'be2net-next' · 078252e0
      David S. Miller authored
      Sathya Perla says:
      
      ====================
      be2net: patch set
      
      Patch 1 is a minor optimization for issuing multicast promisc FW cmd
      only when the interface is not already in that mode.
      
      Patch 2 provides support for VF TX-rate setting on Skyhawk-R.
      
      Patch 3 provides support for flashing new FW flash regions.
      
      Patches 4, 5, 6 cleanup the MCC processing (for FW cmds) code in be_cmds.c.
      The MCC error reporting and event handling code are areas that needed
      cleanup.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      078252e0
    • Sathya Perla's avatar
      be2net: cleanup MCC async event processing code · 3acf19d9
      Sathya Perla authored
      The MCC async event processing code has 2 issues:
      a) because of long struct names the code indentation is badly broken
      b) description and definitions of how an MCC completion is interpreted as
         an async event are confusing (for e.g. the last word of an MCC event is
         named "code", while "code" is just a sub-field of the last word.)
      
      This patch fixes the structure definitions, comments and re-factors code
      as needed.
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3acf19d9
    • Sathya Perla's avatar
      be2net: move async cmd processing to a separate routine · 559b633f
      Sathya Perla authored
      For some FW cmds, the caller just issues the cmd and doesn't wait for a
      response. The response handling is done in the MCCQ compl processing context
      only. Move this code into a separate routine to make be_mcc_compl_process()
      more manageable.
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      559b633f
    • Kalesh AP's avatar
      be2net: re-factor MCCQ error status handling code · 4c60005f
      Kalesh AP authored
      This patch improves MCCQ error status handling in the following ways:
      a) A MCC cmd completion returns a base-status and an addl-status.
      So far, the routine be_mcc_compl_process() returned only the "status" value.
      Now, embedd both statuses in the return value and let the caller routine access
      the value of interest using base_status() and addl_status() macros.
      
      b) Rename variables accordingly (base/addl) to avoid confusion while error
      checking.
      
      b) Some of the errors returned by FW are harmless and so an error msg is not
      logged for such errors. Capture this logic in a separate routine to make the
      code more readable.
      Signed-off-by: default avatarKalesh AP <kalesh.purayil@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4c60005f
    • Vasundhara Volam's avatar
      be2net: support flashing new regions on Skyhawk-R · 96c9b2e4
      Vasundhara Volam authored
      Certain new flash regions have been added to Skyhawk-R FW image. The newer
      FW images specify op_types for each region. A region is flashed only
      when it's CRC doesn't match that of the region on the HW flash. While
      upgrading to a new FW image the driver is expected to tolerate certain
      errors.
      
      This patch re-factors code under be_flash() to support the above scheme.
      Signed-off-by: default avatarVasundhara Volam <vasundhara.volam@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      96c9b2e4
    • Ravikumar Nelavelli's avatar
      be2net: fixup TX-rate setting code for Skyhawk-R · 0f77ba73
      Ravikumar Nelavelli authored
      Skyhawk-R FW supports TX-rate setting only as a % value of the link
      speed, set via the SET_PROFILE_CONFIG cmd.
      
      This patch makes the necessary changes to the FW cmd descriptors to support
      the above change and also introduces checks in be_set_vf_tx_rate() to allow
      only discrete values (that map to % of the link-speed).
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0f77ba73
    • Kalesh AP's avatar
      be2net: skip multicast promiscuos setting in already set · a0794885
      Kalesh AP authored
      Set mc-promisc (multicast promiscuous) mode on an interface, only if it is
      *not already* in that mode.
      
      Also removed logs that report interface being set to multicast
      promiscous mode. In an earlier comment on the netdev list such log messages
      were deemed unnecessary as this behaviour is common across most of the
      ethernet drivers.
      Signed-off-by: default avatarKalesh AP <kalesh.purayil@emulex.com>
      Signed-off-by: default avatarSathya Perla <sathya.perla@emulex.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a0794885
    • David S. Miller's avatar
      Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next · 4d1cdf1d
      David S. Miller authored
      John W. Linville says:
      
      ====================
      Please pull this batch of updates intended for 3.16...
      
      For the mac80211 bits, Johannes says:
      
      "Here I just have Heikki's rfkill GPIO cleanups.
      
      The ARM/tegra patch is OK with the maintainer (Stephen). Let me know of
      any problems."
      
      and;
      
      "We have a whole bunch of work on CSA by Andrei, Luca and Michal, but
      unfortunately it doesn't seem quite complete yet so it's still disabled.
      There's some TDLS work from Arik, and the rest is mostly minor fixes and
      cleanups."
      
      For the NFC bits, Samuel says:
      
      "This is the NFC pull request for 3.16. We have:
      
      - STMicroeectronics st21nfca support. The st21nfca is an HCI chipset and
        thus relies on the HCI stack. This submission provides support for tag
        redaer/writer mode (including Type 5) and device tree bindings.
      
      - PM runtime support and a bunch of bug fixes for TI's trf7970a.
      
      - Device tree support for NXP's pn544. Legacy platform data support is
        obviously kept intact.
      
      - NFC Tag type 4B support to the NFC Digital stack.
      
      - SOCK_RAW type support to the raw NFC socket, and allow NCI
        sniffing from that. This can be extended to report HCI frames and also
        proprietarry ones like e.g. the pn533 ones."
      
      For the iwlwifi bits, Emmanuel says:
      
      "Eran continues to work on new devices, Eyal is still digging in
      the rate control stuff, and Johannes added new functionality to the
      debug system we have in place now along with a few cleanups he made
      on the way.  That's pretty much it."
      
      and;
      
      "Avri continues to work on the power code and Eran is improving the
      NVM handling as a preparations for new devices on which he works
      with Liad. Luca cleans up a bit the code while working on CSA. I have
      the regular BT Coex stuff and a small lockdep fix. Johannes has his
      regular amount of clean ups and improvements, the main one is the
      ability to leave 2 chains open to improve diversity and hence the
      throughput in high attenuation scenarios."
      
      and;
      
      "The regular amount of housekeeping here. I merged iwlwifi-fixes.git to
      be able to add the patch you didn't want in wireless.git at that stage
      of the -rc cycle.  Luca has a few preparations for CSA implementation
      and also what seems to be a bugfix for P2P but hasn't caused issues
      we could notice."
      
      For the Atheros bits, Kalle says:
      
      "For ath10k Michal did various small fixes on how we handle
      hardware/firmware problems and he also fixed two memory leaks."
      
      Also included are a couple of pulls from the wireless tree to
      avoid/resolve merge issues...
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4d1cdf1d
    • Paul Bolle's avatar
      atm: remove commented out check · 391296c9
      Paul Bolle authored
      This preprocessor check is commented out ever since this file was added
      during the v2.3 development cycle. It is unclear what it purpose might
      have been. Whatever it was, it can safely be removed now.
      Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      391296c9
    • Tobias Klauser's avatar
      net: tile: Remove unnecessary memset of netdev private data · 88446017
      Tobias Klauser authored
      The memory for private data is allocated using kzalloc/vzalloc in
      alloc_netdev_mqs, thus there is no need to zero it again in the driver.
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Acked-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      88446017
    • Tobias Klauser's avatar
      net: tile: Use helpers from linux/etherdevice.h to check/set MAC · d581ebf5
      Tobias Klauser authored
      Use is_zero_ether_addr() to check for the MAC address being all zeros instead of
      open coding the check.
      
      Also use ether_addr_copy() instead of a manual memcpy() to set the
      netdev->dev_addr.
      
      Furthermore, get rid of a redundant assignment of netdev->addr_len. This is
      already set by ether_setup() which is called in tile_net_setup().
      Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
      Acked-by: default avatarChris Metcalf <cmetcalf@tilera.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d581ebf5
    • Ariel Elior's avatar
      bnx2x: update MAINTAINERS for bnx2x and e-mail addresses · 08f6dd89
      Ariel Elior authored
      The bnx2x development team has transferred from Broadcom to Qlogic.
      This patch updates some obsolete email addresses to usable ones.
      The bnx2x files contain headers with legal information from
      Broadcom. Qlogic Legal depratment is taking their time coming up
      with their own legal info. So this patch only updates contact
      information. I will follow up with a patch for the headers once I
      have the required info.
      Signed-off-by: default avatarAriel Elior <ariel.elior@qlogic.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      08f6dd89
    • Nimrod Andy's avatar
      net: fec: use pinctrl PM helpers · 5bbde4d2
      Nimrod Andy authored
      when system suspend, need to set pins to low power state to
      save IO power consumption, there are three states of pinctrl:
      "default", "idle" and "sleep". Currently enet supports default
      and sleep state.
      Signed-off-by: default avatarFugang Duan <B38611@freescale.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5bbde4d2
  2. 30 May, 2014 7 commits
  3. 29 May, 2014 4 commits
  4. 28 May, 2014 1 commit
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 6623b419
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to e1000, e1000e, ixgbe and i40evf.
      
      Emil provides a fix for ixgbe so that non-fiber devices with MNG FW enabled
      are able to link at 100Mbps.
      
      Jacob provides several changes for ixgbe, most of which are PTP related.
      Renames ixgbe_ptp_enable() to ixgbe_ptp_feature_enable() to better reflect
      the functions purpose.  Extracts the hardware setup logic for the PTP
      hardware bits from the ixgbe_ptp_set_ts_config() to enable future work for
      the ixgbe_ptp_reset().  Maintain the hwstamp configuration through a reset
      and extracts the creation of the PTP clock device from ptp_init() in order
      to properly handle a suspend/resume cycle and only calls it if we don't
      already have a ptp_clock pointer.
      
      David provides a patch to expend the e1000e driver to turn on unicast
      PROMISC when there is failure to write to a shared receive address register.
      The fix update_phy_task() for 82579 is expanded to include newer PHYs as well
      so that the dev_spec->eee_lp_ability has the correct value when going into
      SX states.
      
      Todd provides a e1000e fix an errata for 82574/82583 where it is possible
      bad bits are read from SYSTIMH/L so check to see that the time is
      incrementing at a reasonable rate and is a multiple of the time incremental
      value.  Removes a redundant igb PHY power down register write.
      
      Andi Kleen out of lines two write functions for e1000e to save 30k text size.
      
      Tobias Klauser converts the e1000 and i40evf drivers to use the
      is_broadcast_ether_addr() and is_multicast_ether_addr().
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6623b419
  5. 27 May, 2014 15 commits