1. 29 Jan, 2013 1 commit
    • Bruce Allan's avatar
      e1000e: enable ECC on I217/I218 to catch packet buffer memory errors · 28600304
      Bruce Allan authored
      
      
      In rare instances, memory errors have been detected in the internal packet
      buffer memory on I217/I218 when stressed under certain environmental
      conditions.  Enable Error Correcting Code (ECC) in hardware to catch both
      correctable and uncorrectable errors.  Correctable errors will be handled
      by the hardware.  Uncorrectable errors in the packet buffer will cause the
      packet to be received with an error indication in the buffer descriptor
      causing the packet to be discarded.  If the uncorrectable error is in the
      descriptor itself, the hardware will stop and interrupt the driver
      indicating the error.  The driver will then reset the hardware in order to
      clear the error and restart.
      
      Both types of errors will be accounted for in statistics counters.
      Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
      Cc: <stable@vger.kernel.org> # 3.5.x & 3.6.x
      Tested-by: default avatarJeff Pieper <jeffrey.e.pieper@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      28600304
  2. 01 Dec, 2012 1 commit
  3. 14 Jul, 2012 1 commit
  4. 02 Jun, 2012 1 commit
  5. 04 May, 2012 1 commit
  6. 03 May, 2012 2 commits
  7. 02 May, 2012 3 commits
  8. 27 Apr, 2012 1 commit
  9. 14 Apr, 2012 2 commits
    • Bruce Allan's avatar
      e1000e: cleanup boolean logic · 04499ec4
      Bruce Allan authored
      
      
      Replace occurrences of 'if (<bool expr> == <1|0>)' with
      'if ([!]<bool expr>)'
      
      Replace occurrences of '<bool var> = (<non-bool expr>) ? true : false'
      with '<bool var> = <non-bool expr>'.
      
      Replace occurrence of '<bool var> = <non-bool expr>' with
      '<bool var> = !!<non-bool expr>'
      
      While the latter replacement is not really necessary, it is done here for
      consistency and clarity.  No functional changes.
      Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      04499ec4
    • Bruce Allan's avatar
      e1000e: issues in Sx on 82577/8/9 · 92fe1733
      Bruce Allan authored
      
      
      A workaround was previously put in the driver to reset the device when
      transitioning to Sx in order to activate the changed settings of the PHY
      OEM bits (Low Power Link Up, or LPLU, and GbE disable configuration) for
      82577/8/9 devices.  After further review, it was found such a reset can
      cause the 82579 to confuse which version of 82579 it actually is and broke
      LPLU on all 82577/8/9 devices.  The workaround during an S0->Sx transition
      on 82579 (instead of resetting the PHY) is to restart auto-negotiation
      after the OEM bits are configured; the restart of auto-negotiation
      activates the new OEM bits as does the reset.  With 82577/8, the reset is
      changed to a generic reset which fixes the LPLU bits getting set wrong.
      Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
      Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
      Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
      92fe1733
  10. 01 Mar, 2012 1 commit
  11. 24 Feb, 2012 7 commits
  12. 13 Feb, 2012 9 commits
  13. 10 Feb, 2012 2 commits
  14. 07 Feb, 2012 2 commits
  15. 26 Jan, 2012 6 commits