e1000e: adjust PM QoS request
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 12 Jan 2013 07:25:22 +0000 (07:25 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 07:27:41 +0000 (23:27 -0800)
commit3e35d9918cbbc224f88da4dd19cd90b2cd4f765e
tree81baa95ae359030814558a35ffd3c359ebe4ece1
parentc3d2dbf403367eb5c17f044aa74b772508d745c1
e1000e: adjust PM QoS request

It has been found that devices other than 82579 (a.k.a. e1000_pch2lan)
suffer from dropped transactions on platforms with deep C-states when
jumbo frames are enabled.  For example, LOMs on ICH9- and ICH10-based
platforms which recently had early-receive de-featured (for stability
reasons) suffer from this.  To resolve this for all devices, when jumbo
frames are enabled set the PM QoS DMA latency request based on the size
of the receive packet buffer less one full frame.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/defines.h
drivers/net/ethernet/intel/e1000e/netdev.c