blob: 4ebbd659256fbfe3cdf450bfed814066ae2df575 [file] [log] [blame]
Jeff Kirsherd7064f42013-08-23 17:19:23 -07001Linux* Base Driver for Intel(R) Ethernet Network Connection
2===========================================================
Jeff Kirsherb55c52b2010-08-08 15:54:11 +00003
4Intel Gigabit Linux driver.
Jeff Kirsherd7064f42013-08-23 17:19:23 -07005Copyright(c) 1999 - 2013 Intel Corporation.
Jeff Kirsherb55c52b2010-08-08 15:54:11 +00006
7Contents
8========
9
10- Identifying Your Adapter
11- Additional Configurations
12- Support
13
14Identifying Your Adapter
15========================
16
17This driver supports all 82575, 82576 and 82580-based Intel (R) gigabit network
18connections.
19
20For specific information on how to identify your adapter, go to the Adapter &
21Driver ID Guide at:
22
23 http://support.intel.com/support/go/network/adapter/idguide.htm
24
25Command Line Parameters
26=======================
27
28The default value for each parameter is generally the recommended setting,
29unless otherwise noted.
30
31max_vfs
32-------
33Valid Range: 0-7
34Default Value: 0
35
36This parameter adds support for SR-IOV. It causes the driver to spawn up to
37max_vfs worth of virtual function.
38
Jeff Kirsherd7064f42013-08-23 17:19:23 -070039QueuePairs
40----------
41Valid Range: 0-1
42Default Value: 1 (TX and RX will be paired onto one interrupt vector)
43
44If set to 0, when MSI-X is enabled, the TX and RX will attempt to occupy
45separate vectors.
46
47This option can be overridden to 1 if there are not sufficient interrupts
48available. This can occur if any combination of RSS, VMDQ, and max_vfs
49results in more than 4 queues being used.
50
51Node
52----
53Valid Range: 0-n
54Default Value: -1 (off)
55
56 0 - n: where n is the number of the NUMA node that should be used to
57 allocate memory for this adapter port.
58 -1: uses the driver default of allocating memory on whichever processor is
59 running insmod/modprobe.
60
61 The Node parameter will allow you to pick which NUMA node you want to have
62 the adapter allocate memory from. All driver structures, in-memory queues,
63 and receive buffers will be allocated on the node specified. This parameter
64 is only useful when interrupt affinity is specified, otherwise some portion
65 of the time the interrupt could run on a different core than the memory is
66 allocated on, causing slower memory access and impacting throughput, CPU, or
67 both.
68
69EEE
70---
71Valid Range: 0-1
72Default Value: 1 (enabled)
73
74 A link between two EEE-compliant devices will result in periodic bursts of
75 data followed by long periods where in the link is in an idle state. This Low
76 Power Idle (LPI) state is supported in both 1Gbps and 100Mbps link speeds.
77 NOTE: EEE support requires autonegotiation.
78
79DMAC
80----
81Valid Range: 0-1
82Default Value: 1 (enabled)
83 Enables or disables DMA Coalescing feature.
84
85
Jeff Kirsher1ffd7242010-12-09 23:47:39 -080086
Jeff Kirsherb55c52b2010-08-08 15:54:11 +000087Additional Configurations
88=========================
89
90 Jumbo Frames
91 ------------
92 Jumbo Frames support is enabled by changing the MTU to a value larger than
93 the default of 1500. Use the ifconfig command to increase the MTU size.
94 For example:
95
96 ifconfig eth<x> mtu 9000 up
97
98 This setting is not saved across reboots.
99
100 Notes:
101
102 - The maximum MTU setting for Jumbo Frames is 9216. This value coincides
103 with the maximum Jumbo Frames size of 9234 bytes.
104
Jeff Kirsherd7064f42013-08-23 17:19:23 -0700105 - Using Jumbo frames at 10 or 100 Mbps is not supported and may result in
106 poor performance or loss of link.
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000107
Jeff Kirsherd7064f42013-08-23 17:19:23 -0700108 ethtool
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000109 -------
110 The driver utilizes the ethtool interface for driver configuration and
Jeff Kirsher1ffd7242010-12-09 23:47:39 -0800111 diagnostics, as well as displaying statistical information. The latest
Jeff Kirsher68f20d92010-12-17 12:14:34 +0000112 version of ethtool can be found at:
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000113
Jeff Kirsher1ffd7242010-12-09 23:47:39 -0800114 http://ftp.kernel.org/pub/software/network/ethtool/
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000115
116 Enabling Wake on LAN* (WoL)
117 ---------------------------
Jeff Kirsher68f20d92010-12-17 12:14:34 +0000118 WoL is configured through the ethtool* utility.
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000119
Jeff Kirsher68f20d92010-12-17 12:14:34 +0000120 For instructions on enabling WoL with ethtool, refer to the ethtool man page.
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000121
122 WoL will be enabled on the system during the next shut down or reboot.
123 For this driver version, in order to enable WoL, the igb driver must be
124 loaded when shutting down or rebooting the system.
125
126 Wake On LAN is only supported on port A of multi-port adapters.
127
128 Wake On LAN is not supported for the Intel(R) Gigabit VT Quad Port Server
129 Adapter.
130
131 Multiqueue
132 ----------
133 In this mode, a separate MSI-X vector is allocated for each queue and one
134 for "other" interrupts such as link status change and errors. All
135 interrupts are throttled via interrupt moderation. Interrupt moderation
136 must be used to avoid interrupt storms while the driver is processing one
137 interrupt. The moderation value should be at least as large as the expected
138 time for the driver to process an interrupt. Multiqueue is off by default.
139
140 REQUIREMENTS: MSI-X support is required for Multiqueue. If MSI-X is not
141 found, the system will fallback to MSI or to Legacy interrupts.
142
Greg Rose7c158392011-03-12 11:56:02 +0000143 MAC and VLAN anti-spoofing feature
144 ----------------------------------
145 When a malicious driver attempts to send a spoofed packet, it is dropped by
146 the hardware and not transmitted. An interrupt is sent to the PF driver
147 notifying it of the spoof attempt.
148
149 When a spoofed packet is detected the PF driver will send the following
150 message to the system log (displayed by the "dmesg" command):
151
152 Spoof event(s) detected on VF(n)
153
154 Where n=the VF that attempted to do the spoofing.
155
Jeff Kirsherd7064f42013-08-23 17:19:23 -0700156 Setting MAC Address, VLAN and Rate Limit Using IProute2 Tool
157 ------------------------------------------------------------
158 You can set a MAC address of a Virtual Function (VF), a default VLAN and the
159 rate limit using the IProute2 tool. Download the latest version of the
160 iproute2 tool from Sourceforge if your version does not have all the
161 features you require.
162
163
Jeff Kirsherb55c52b2010-08-08 15:54:11 +0000164Support
165=======
166
167For general information, go to the Intel support website at:
168
169 www.intel.com/support/
170
171or the Intel Wired Networking project hosted by Sourceforge at:
172
173 http://sourceforge.net/projects/e1000
174
175If an issue is identified with the released source code on the supported
176kernel with a supported adapter, email the specific information related
177to the issue to e1000-devel@lists.sf.net