]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: add support for LTR on I217/I218
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 6 Mar 2013 09:03:02 +0000 (09:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 Mar 2013 07:25:11 +0000 (00:25 -0700)
commit381ea38cc82733b49cd352f0d18dd27f1e9e3c27
treedb1ccf0f76ff2633df09dc504414599dd65c205d
parentf09bdeb6f391d88d867b78d0a34db70aafd8f945
e1000e: add support for LTR on I217/I218

Set the Latency Tolerance Reporting (LTR) values for the "PCIe-like"
GbE MAC in the Lynx Point PCH based on Rx buffer size and link speed
when link is up (which must not exceed the maximum latency supported
by the platform), otherwise specify there is no LTR requirement.
Unlike true-PCIe devices which set the LTR maximum snoop/no-snoop
latencies in the LTR Extended Capability Structure in the PCIe Extended
Capability register set, on this device LTR is set by writing the
equivalent snoop/no-snoop latencies in the LTRV register in the MAC and
set the SEND bit to send an Intel On-chip System Fabric sideband (IOSF-SB)
message to the PMC.

Signed-off-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/ich8lan.c