e1000e Refactor of Runtime Power Management
authorDavid Ertman <davidx.m.ertman@intel.com>
Fri, 14 Feb 2014 07:16:46 +0000 (07:16 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Mar 2014 06:30:59 +0000 (22:30 -0800)
commit63eb48f151b5f1d8dba35d6176d0d7c9643b33af
treea9bf3e9cc42e47c70f3237ea7efec3ae56cdfcd1
parent2800209994f878b00724ceabb65d744855c8f99a
e1000e Refactor of Runtime Power Management

Fix issues with:
RuntimePM causing the device to repeatedly flip between suspend and resume
with the interface administratively downed.
Having RuntimePM enabled interfering with the functionality of Energy
Efficient Ethernet.

Added checks to disallow functions that should not be executed if the
device is currently runtime suspended

Make runtime_idle callback to use same deterministic behavior as the igb
driver.

Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/netdev.c