1. 12 Mar, 2014 7 commits
  2. 11 Mar, 2014 6 commits
  3. 10 Mar, 2014 19 commits
  4. 09 Mar, 2014 3 commits
  5. 08 Mar, 2014 5 commits
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · d85ea93f
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates
      
      This series contains updates to e1000e, ixgbevf and igb.
      
      Majority of this series contains fixes and cleanups to e1000e,
      most notably are:
      
      Todd provides a fix to PTP in e1000e which adds a lock in e1000e_phc_adjfreq
      to prevent concurrent changes to TIMINCA and SYSTIMH/L.  Then provides an
      igb fix to use ARRAY_SIZE for array size calculation.
      
      David provides the remaining e1000e which contain:
       - cleanup of pointer references that are no longer used
       - fix an issue on systems with Management Engine enabled with the
         ethernet cable unplugged
       - fix an issue on 82579 where enabling EEE LPI sooner than one second
         after link up causes link issues on some switches
       - refactor the power management flows to prevent the suspend path from
         being executed twice when hibernating
       - refactor the runtime power management to fix interfering with the
         functionality of Energy Efficient Ethernet when enabled and to fix
         the device from repeatedly flip between suspend and resume with the
         interface administratively downed
       - enable the feature PHY Ultra Low Power Mode which is a power saving
         feature that reduces the power consumption of the PHY when a cable is
         not connected
       - fix the ethtool offline tests for 82579 parts
       - fix SHRA register access for 82579 parts which was introduced by
         previous commit c3a0dce3 "e1000e: fix overrun of PHY RAR array"
      
      Florian provides a fix for ixgbevf where skb->pkt_type was being checked
      like a bitmask, but it is not a bitmask.
      
      Fix an issue reported by Stephen Hemminger where there was a warning
      about code defined but never used if IGB_HWMON is not defined.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d85ea93f
    • Jeff Kirsher's avatar
      igb: fix warning if !CONFIG_IGB_HWMON · 9b143d11
      Jeff Kirsher authored
      Fix warning about code defined but never used if IGB_HWMON not defined.
      Reported-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      9b143d11
    • Todd Fujinaka's avatar
      igb: fix array size calculation · 72b36727
      Todd Fujinaka authored
      Use ARRAY_SIZE for array size calculation.
      Signed-off-by: default avatarTodd Fujinaka <todd.fujinaka@intel.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      72b36727
    • Florian Fainelli's avatar
      ixgbevf: fix skb->pkt_type checks · bd9d5592
      Florian Fainelli authored
      skb->pkt_type is not a bitmask, but contains only value at a time from
      the range defined in include/uapi/linux/if_packet.h.
      
      Checking it like if it was a bitmask of values would also cause
      PACKET_OTHERHOST, PACKET_LOOPBACK and PACKET_FASTROUTE to be matched by
      this check since their lower 2 bits are also set, although that does not
      fix a real bug, it is still potentially confusing.
      
      This bogus check was introduced in commit 815cccbf ("ixgbe: add setlink,
      getlink support to ixgbe and ixgbevf").
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      bd9d5592
    • David Ertman's avatar
      e1000e: Fix SHRA register access for 82579 · 96dee024
      David Ertman authored
      Previous commit c3a0dce3 fixed an overrun for the RAR on i218 devices.
      This commit also attempted to homogenize the RAR/SHRA access for all parts
      accessed by the e1000e driver.  This change introduced an error for
      assigning MAC addresses to guest OS's for 82579 devices.
      
      Only RAR[0] is accessible to the driver for 82579 parts, and additional
      addresses must be placed into the SHRA[L|H] registers.  The rar_entry_count
      was changed in the previous commit to an inaccurate value that accounted
      for all RAR and SHRA registers, not just the ones usable by the driver.
      
      This patch fixes the count to the correct value and adjusts the
      e1000_rar_set_pch2lan() function to user the correct index.
      
      Cc: John Greene <jogreene@redhat.com>
      Signed-off-by: default avatarDave Ertman <davidx.m.ertman@intel.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      96dee024