e1000e.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. Linux* Driver for Intel(R) Network Connection
  2. ===============================================================
  3. Intel Gigabit Linux driver.
  4. Copyright(c) 1999 - 2010 Intel Corporation.
  5. Contents
  6. ========
  7. - Identifying Your Adapter
  8. - Command Line Parameters
  9. - Additional Configurations
  10. - Support
  11. Identifying Your Adapter
  12. ========================
  13. The e1000e driver supports all PCI Express Intel(R) Gigabit Network
  14. Connections, except those that are 82575, 82576 and 82580-based*.
  15. * NOTE: The Intel(R) PRO/1000 P Dual Port Server Adapter is supported by
  16. the e1000 driver, not the e1000e driver due to the 82546 part being used
  17. behind a PCI Express bridge.
  18. For more information on how to identify your adapter, go to the Adapter &
  19. Driver ID Guide at:
  20. http://support.intel.com/support/go/network/adapter/idguide.htm
  21. For the latest Intel network drivers for Linux, refer to the following
  22. website. In the search field, enter your adapter name or type, or use the
  23. networking link on the left to search for your adapter:
  24. http://support.intel.com/support/go/network/adapter/home.htm
  25. Command Line Parameters
  26. =======================
  27. The default value for each parameter is generally the recommended setting,
  28. unless otherwise noted.
  29. NOTES: For more information about the InterruptThrottleRate,
  30. RxIntDelay, TxIntDelay, RxAbsIntDelay, and TxAbsIntDelay
  31. parameters, see the application note at:
  32. http://www.intel.com/design/network/applnots/ap450.htm
  33. InterruptThrottleRate
  34. ---------------------
  35. Valid Range: 0,1,3,4,100-100000 (0=off, 1=dynamic, 3=dynamic conservative,
  36. 4=simplified balancing)
  37. Default Value: 3
  38. The driver can limit the amount of interrupts per second that the adapter
  39. will generate for incoming packets. It does this by writing a value to the
  40. adapter that is based on the maximum amount of interrupts that the adapter
  41. will generate per second.
  42. Setting InterruptThrottleRate to a value greater or equal to 100
  43. will program the adapter to send out a maximum of that many interrupts
  44. per second, even if more packets have come in. This reduces interrupt
  45. load on the system and can lower CPU utilization under heavy load,
  46. but will increase latency as packets are not processed as quickly.
  47. The driver has two adaptive modes (setting 1 or 3) in which
  48. it dynamically adjusts the InterruptThrottleRate value based on the traffic
  49. that it receives. After determining the type of incoming traffic in the last
  50. timeframe, it will adjust the InterruptThrottleRate to an appropriate value
  51. for that traffic.
  52. The algorithm classifies the incoming traffic every interval into
  53. classes. Once the class is determined, the InterruptThrottleRate value is
  54. adjusted to suit that traffic type the best. There are three classes defined:
  55. "Bulk traffic", for large amounts of packets of normal size; "Low latency",
  56. for small amounts of traffic and/or a significant percentage of small
  57. packets; and "Lowest latency", for almost completely small packets or
  58. minimal traffic.
  59. In dynamic conservative mode, the InterruptThrottleRate value is set to 4000
  60. for traffic that falls in class "Bulk traffic". If traffic falls in the "Low
  61. latency" or "Lowest latency" class, the InterruptThrottleRate is increased
  62. stepwise to 20000. This default mode is suitable for most applications.
  63. For situations where low latency is vital such as cluster or
  64. grid computing, the algorithm can reduce latency even more when
  65. InterruptThrottleRate is set to mode 1. In this mode, which operates
  66. the same as mode 3, the InterruptThrottleRate will be increased stepwise to
  67. 70000 for traffic in class "Lowest latency".
  68. In simplified mode the interrupt rate is based on the ratio of Tx and
  69. Rx traffic. If the bytes per second rate is approximately equal the
  70. interrupt rate will drop as low as 2000 interrupts per second. If the
  71. traffic is mostly transmit or mostly receive, the interrupt rate could
  72. be as high as 8000.
  73. Setting InterruptThrottleRate to 0 turns off any interrupt moderation
  74. and may improve small packet latency, but is generally not suitable
  75. for bulk throughput traffic.
  76. NOTE: InterruptThrottleRate takes precedence over the TxAbsIntDelay and
  77. RxAbsIntDelay parameters. In other words, minimizing the receive
  78. and/or transmit absolute delays does not force the controller to
  79. generate more interrupts than what the Interrupt Throttle Rate
  80. allows.
  81. NOTE: When e1000e is loaded with default settings and multiple adapters
  82. are in use simultaneously, the CPU utilization may increase non-
  83. linearly. In order to limit the CPU utilization without impacting
  84. the overall throughput, we recommend that you load the driver as
  85. follows:
  86. modprobe e1000e InterruptThrottleRate=3000,3000,3000
  87. This sets the InterruptThrottleRate to 3000 interrupts/sec for
  88. the first, second, and third instances of the driver. The range
  89. of 2000 to 3000 interrupts per second works on a majority of
  90. systems and is a good starting point, but the optimal value will
  91. be platform-specific. If CPU utilization is not a concern, use
  92. RX_POLLING (NAPI) and default driver settings.
  93. RxIntDelay
  94. ----------
  95. Valid Range: 0-65535 (0=off)
  96. Default Value: 0
  97. This value delays the generation of receive interrupts in units of 1.024
  98. microseconds. Receive interrupt reduction can improve CPU efficiency if
  99. properly tuned for specific network traffic. Increasing this value adds
  100. extra latency to frame reception and can end up decreasing the throughput
  101. of TCP traffic. If the system is reporting dropped receives, this value
  102. may be set too high, causing the driver to run out of available receive
  103. descriptors.
  104. CAUTION: When setting RxIntDelay to a value other than 0, adapters may
  105. hang (stop transmitting) under certain network conditions. If
  106. this occurs a NETDEV WATCHDOG message is logged in the system
  107. event log. In addition, the controller is automatically reset,
  108. restoring the network connection. To eliminate the potential
  109. for the hang ensure that RxIntDelay is set to 0.
  110. RxAbsIntDelay
  111. -------------
  112. Valid Range: 0-65535 (0=off)
  113. Default Value: 8
  114. This value, in units of 1.024 microseconds, limits the delay in which a
  115. receive interrupt is generated. Useful only if RxIntDelay is non-zero,
  116. this value ensures that an interrupt is generated after the initial
  117. packet is received within the set amount of time. Proper tuning,
  118. along with RxIntDelay, may improve traffic throughput in specific network
  119. conditions.
  120. TxIntDelay
  121. ----------
  122. Valid Range: 0-65535 (0=off)
  123. Default Value: 8
  124. This value delays the generation of transmit interrupts in units of
  125. 1.024 microseconds. Transmit interrupt reduction can improve CPU
  126. efficiency if properly tuned for specific network traffic. If the
  127. system is reporting dropped transmits, this value may be set too high
  128. causing the driver to run out of available transmit descriptors.
  129. TxAbsIntDelay
  130. -------------
  131. Valid Range: 0-65535 (0=off)
  132. Default Value: 32
  133. This value, in units of 1.024 microseconds, limits the delay in which a
  134. transmit interrupt is generated. Useful only if TxIntDelay is non-zero,
  135. this value ensures that an interrupt is generated after the initial
  136. packet is sent on the wire within the set amount of time. Proper tuning,
  137. along with TxIntDelay, may improve traffic throughput in specific
  138. network conditions.
  139. Copybreak
  140. ---------
  141. Valid Range: 0-xxxxxxx (0=off)
  142. Default Value: 256
  143. Driver copies all packets below or equaling this size to a fresh Rx
  144. buffer before handing it up the stack.
  145. This parameter is different than other parameters, in that it is a
  146. single (not 1,1,1 etc.) parameter applied to all driver instances and
  147. it is also available during runtime at
  148. /sys/module/e1000e/parameters/copybreak
  149. SmartPowerDownEnable
  150. --------------------
  151. Valid Range: 0-1
  152. Default Value: 0 (disabled)
  153. Allows PHY to turn off in lower power states. The user can set this parameter
  154. in supported chipsets.
  155. KumeranLockLoss
  156. ---------------
  157. Valid Range: 0-1
  158. Default Value: 1 (enabled)
  159. This workaround skips resetting the PHY at shutdown for the initial
  160. silicon releases of ICH8 systems.
  161. IntMode
  162. -------
  163. Valid Range: 0-2 (0=legacy, 1=MSI, 2=MSI-X)
  164. Default Value: 2
  165. Allows changing the interrupt mode at module load time, without requiring a
  166. recompile. If the driver load fails to enable a specific interrupt mode, the
  167. driver will try other interrupt modes, from least to most compatible. The
  168. interrupt order is MSI-X, MSI, Legacy. If specifying MSI (IntMode=1)
  169. interrupts, only MSI and Legacy will be attempted.
  170. CrcStripping
  171. ------------
  172. Valid Range: 0-1
  173. Default Value: 1 (enabled)
  174. Strip the CRC from received packets before sending up the network stack. If
  175. you have a machine with a BMC enabled but cannot receive IPMI traffic after
  176. loading or enabling the driver, try disabling this feature.
  177. WriteProtectNVM
  178. ---------------
  179. Valid Range: 0-1
  180. Default Value: 1 (enabled)
  181. Set the hardware to ignore all write/erase cycles to the GbE region in the
  182. ICHx NVM (non-volatile memory). This feature can be disabled by the
  183. WriteProtectNVM module parameter (enabled by default) only after a hardware
  184. reset, but the machine must be power cycled before trying to enable writes.
  185. Note: the kernel boot option iomem=relaxed may need to be set if the kernel
  186. config option CONFIG_STRICT_DEVMEM=y, if the root user wants to write the
  187. NVM from user space via ethtool.
  188. Additional Configurations
  189. =========================
  190. Jumbo Frames
  191. ------------
  192. Jumbo Frames support is enabled by changing the MTU to a value larger than
  193. the default of 1500. Use the ifconfig command to increase the MTU size.
  194. For example:
  195. ifconfig eth<x> mtu 9000 up
  196. This setting is not saved across reboots.
  197. Notes:
  198. - The maximum MTU setting for Jumbo Frames is 9216. This value coincides
  199. with the maximum Jumbo Frames size of 9234 bytes.
  200. - Using Jumbo Frames at 10 or 100 Mbps is not supported and may result in
  201. poor performance or loss of link.
  202. - Some adapters limit Jumbo Frames sized packets to a maximum of
  203. 4096 bytes and some adapters do not support Jumbo Frames.
  204. Ethtool
  205. -------
  206. The driver utilizes the ethtool interface for driver configuration and
  207. diagnostics, as well as displaying statistical information. We
  208. strongly recommend downloading the latest version of Ethtool at:
  209. http://sourceforge.net/projects/gkernel.
  210. Speed and Duplex
  211. ----------------
  212. Speed and Duplex are configured through the Ethtool* utility. For
  213. instructions, refer to the Ethtool man page.
  214. Enabling Wake on LAN* (WoL)
  215. ---------------------------
  216. WoL is configured through the Ethtool* utility. For instructions on
  217. enabling WoL with Ethtool, refer to the Ethtool man page.
  218. WoL will be enabled on the system during the next shut down or reboot.
  219. For this driver version, in order to enable WoL, the e1000e driver must be
  220. loaded when shutting down or rebooting the system.
  221. In most cases Wake On LAN is only supported on port A for multiple port
  222. adapters. To verify if a port supports Wake on LAN run ethtool eth<X>.
  223. Support
  224. =======
  225. For general information, go to the Intel support website at:
  226. www.intel.com/support/
  227. or the Intel Wired Networking project hosted by Sourceforge at:
  228. http://sourceforge.net/projects/e1000
  229. If an issue is identified with the released source code on the supported
  230. kernel with a supported adapter, email the specific information related
  231. to the issue to e1000-devel@lists.sf.net