1. 04 3月, 2016 1 次提交
    • C
      e1000e: Adds hardware supported cross timestamp on e1000e nic · 01d7ada5
      Christopher S. Hall 提交于
      Modern Intel systems supports cross timestamping of the network device
      clock and Always Running Timer (ART) in hardware.  This allows the
      device time and system time to be precisely correlated. The timestamp
      pair is returned through e1000e_phc_get_syncdevicetime() used by
      get_system_device_crosststamp().  The hardware cross-timestamp result
      is made available to applications through the PTP_SYS_OFFSET_PRECISE
      ioctl which calls e1000e_phc_getcrosststamp().
      
      Cc: Prarit Bhargava <prarit@redhat.com>
      Cc: Richard Cochran <richardcochran@gmail.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Andy Lutomirski <luto@amacapital.net>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: kevin.b.stanton@intel.com
      Cc: kevin.j.clarke@intel.com
      Cc: hpa@zytor.com
      Cc: jeffrey.t.kirsher@intel.com
      Cc: netdev@vger.kernel.org
      Acked-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Signed-off-by: NChristopher S. Hall <christopher.s.hall@intel.com>
      [jstultz: Reworked to use new interface, commit message tweaks]
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      01d7ada5
  2. 06 8月, 2015 1 次提交
  3. 03 6月, 2015 3 次提交
  4. 24 2月, 2015 1 次提交
  5. 08 3月, 2014 2 次提交
    • D
      e1000e: Feature Enable PHY Ultra Low Power Mode (ULP) · 74f350ee
      David Ertman 提交于
      ULP is a power saving feature that reduces the power consumption of the
      PHY when a cable is not connected.
      
      ULP is gated on the following conditions:
      1) The hardware must support ULP.  Currently this is only I218
         devices from Intel
      2) ULP is initiated by the driver, so, no driver results in no ULP.
      3) ULP's implementation utilizes Runtime Power Management to toggle its
         execution.  ULP is enabled/disabled based on the state of Runtime PM.
      4) ULP is not active when wake-on-unicast, multicast or broadcast is active
         as these features are mutually-exclusive.
      
      Since the PHY is in an unavailable state while ULP is active, any access
      of the PHY registers will fail.  This is resolved by utilizing kernel
      calls that cause the device to exit Runtime PM (e.g. pm_runtime_get_sync)
      and then, after PHY access is complete,  allow the device to resume
      Runtime PM (e.g. pm_runtime_put_sync).
      
      Under certain conditions, toggling the LANPHYPC is necessary to disable
      ULP mode.  Break out existing code to toggle LANPHYPC to a new function
      to avoid code duplication.
      Signed-off-by: NDave Ertman <davidx.m.ertman@intel.com>
      Cc: Bruce Allan <bruce.w.allan@intel.com>
      Tested-by: NJeff Pieper <jeffrey.e.pieper@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      74f350ee
    • D
      e1000e: Cleanup - Update GPL header and Copyright · e78b80b1
      David Ertman 提交于
      This patch is to update the GPL header by removing the portion that
      refers to the Free Software Foundation address.
      
      Change the copyright date for 2014.
      
      Reformat the header comments to conform to kernel networking coding norms
      Signed-off-by: NDave Ertman <davidx.m.ertman@intel.com>
      Tested-by: NJeff Pieper <jeffrey.e.pieper@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      e78b80b1
  6. 05 3月, 2013 1 次提交
    • B
      e1000e: workaround DMA unit hang on I218 · e08f626b
      Bruce Allan 提交于
      At 1000Mbps link speed, one of the MAC's internal clocks can be stopped for
      up to 4us when entering K1 (a power mode of the MAC-PHY interconnect).  If
      the MAC is waiting for completion indications for 2 DMA write requests into
      Host memory (e.g. descriptor writeback or Rx packet writing) and the
      indications occur while the clock is stopped, both indications will be
      missed by the MAC causing the MAC to wait for the completion indications
      and be unable to generate further DMA write requests.  This results in an
      apparent hardware hang.
      
      Work-around the issue by disabling the de-assertion of the clock request
      when 1000Mbps link is acquired (K1 must be disabled while doing this).
      Signed-off-by: NBruce Allan <bruce.w.allan@intel.com>
      Tested-by: NJeff Pieper <jeffrey.e.pieper@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      e08f626b
  7. 05 2月, 2013 1 次提交