1 .\" Copyright (c) 2001-2003, Intel Corporation
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions are met:
7 .\" 1. Redistributions of source code must retain the above copyright notice,
8 .\" this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the Intel Corporation nor the names of its
15 .\" contributors may be used to endorse or promote products derived from
16 .\" this software without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22 .\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
30 .\" * Other names and brands may be claimed as the property of others.
32 .\" $FreeBSD: src/share/man/man4/igb.4,v 1.2 2010/05/14 20:11:30 marius Exp $
39 .Nd "Intel(R) PRO/1000 PCI Express Gigabit Ethernet adapter driver"
41 To compile this driver into the kernel,
42 place the following line in your
43 kernel configuration file:
44 .Bd -ragged -offset indent
49 Alternatively, to load the driver as a
50 module at boot time, place the following line in
52 .Bd -literal -offset indent
59 driver provides support for PCI Express Gigabit Ethernet adapters based on
67 Ethernet controller chips.
72 .Bl -item -offset indent -compact
74 Transmit/Receive checksum offload for IP/UDP/TCP.
79 TCP segmentation offload (TSO)
81 Receive side scaling (RSS)
83 Multiple tranmission queues
87 VLAN tag stripping and inserting
96 driver will try enabling as many reception queues and transmission queues
97 as are allowed by the number of CPUs in the system.
99 82575 supports 4 reception queues and 4 transmission queues.
100 MSI-X is not enabled due to hardware errata.
101 Under MSI or legacy interrupt mode,
102 2 reception queues are enabled for hardware RSS hash
103 and only 1 transmission queue is enable.
105 82576 supports 16 reception queues and 16 transmission queues.
106 MSI-X is enable by default.
108 due to the number of MSI-X vectors is 10,
109 at most 8 reception queues and 8 transmission queues will be enabled
113 is enabled on the devices,
114 at most 16 reception queues and 16 transmission queues will be enabled.
116 82580 and I350 support 8 reception queues and 8 transmission queues.
117 MSI-X is enabled by default.
119 I210 supports 4 reception queues and 4 transmission queues.
120 MSI-X is enabled by default.
122 I211 supports 2 reception queues and 2 transmission queues.
123 MSI-X is enabled by default.
125 .\"For questions related to hardware requirements, refer to the
126 .\"documentation supplied with your Intel PRO/1000 adapter.
127 .\"All hardware requirements listed apply to use with
130 .\"Support for Jumbo Frames is provided via the interface MTU setting.
131 .\"Selecting an MTU larger than 1500 bytes with the
133 .\"utility configures the adapter to receive and transmit Jumbo Frames.
134 .\"The maximum MTU size for Jumbo Frames is 9216.
138 driver supports the following media types:
139 .Bl -tag -width ".Cm 10baseT/UTP"
141 Enables auto-negotiation for speed and duplex.
143 Sets 10Mbps operation.
150 Sets 100Mbps operation.
157 Sets 1000Mbps operation.
160 mode is supported at this speed.
162 Sets 1000Mbps operation.
165 mode is supported at this speed.
170 driver supports the following media options:
171 .Bl -tag -width ".Cm full-duplex"
173 Forces full-duplex operation
175 Forces half-duplex operation.
184 is not specified, the driver defaults to
187 For more information on configuring this device, see
196 driver supports Gigabit Ethernet adapters based on the Intel
207 Intel 82575EB Gigabit Ethernet Controller
209 Intel 82576 Gigabit Ethernet Controller
211 Intel 82580EB Gigabit Ethernet Controller
213 Intel Ethernet Controller I210 Series
215 Intel Ethernet Controller I211 Series
217 Intel Ethernet Controller I350
219 Intel Ethernet Server Adapter I210-T1
221 Intel Ethernet Server Adapter I340-F4
223 Intel Ethernet Server Adapter I340-T4
225 Intel Ethernet Server Adapter I350-F2
227 Intel Ethernet Server Adapter I350-F4
229 Intel Ethernet Server Adapter I350-T2
231 Intel Ethernet Server Adapter I350-T4
233 Intel Gigabit EF Dual Port Server Adapter
235 Intel Gigabit ET Dual Port Server Adapter
237 Intel Gigabit ET Quad Port Server Adapter
239 Intel Gigabit ET2 Quad Port Server Adapter
241 Intel Gigabit VT Quad Port Server Adapter
244 Tunables can be set at the
246 prompt before booting the kernel or stored in
249 is the device unit number.
250 .Bl -tag -width ".Va hw.igbX.irq.unshared"
251 .It Va hw.igb.rxd Va hw.igbX.rxd
252 Number of receive descriptors allocated by the driver.
253 The default value is 512.
255 and the maximum is 4096.
256 .It Va hw.igb.txd Va hw.igbX.txd
257 Number of transmit descriptors allocated by the driver.
258 The default value is 1024.
260 and the maximum is 4096.
261 .It Va hw.igb.rxr Va hw.igbX.rxr
262 This tunable specifies the number of reception queues could be enabled.
263 Maximum allowed value for these tunables is device specific
264 and it must be power of 2 aligned.
265 Setting these tunables to 0 allows the driver to make
266 as many reception queues ready-for-use as allowed by the number of CPUs.
267 .It Va hw.igb.txr Va hw.igbX.txr
268 This tunable specifies the number of transmission queues could be enabled.
269 Maximum allowed value for these tunables is device specific
270 and it must be power of 2 aligned.
271 Setting these tunables to 0 allows the driver to make
272 as many transmission queues ready-for-use as allowed by the number of CPUs.
273 .It Va hw.igb.msix.enable Va hw.igbX.msix.enable
275 the driver will use MSI-X if it is supported.
276 This behaviour can be turned off by setting this tunable to 0.
277 .It Va hw.igbX.msix.off
279 and the number of MSI-X vectors is not enough to
280 put transmission queue processing and reception queue processing
281 onto independent MSI-X vector,
282 this tunable specifies the leading target CPU for
283 transmission and reception queues processing.
284 The value specificed must be aligned to the maximum of
285 the number of reception queues
286 and the number of transmission queues enabled,
287 and must be less than the power of 2 number of CPUs.
288 .It Va hw.igbX.msix.rxoff
290 and the number of MSI-X vectors is enough to
291 put transmission queue processing and reception queue processing
292 onto independent MSI-X vector,
293 this tunable specifies the leading target CPU for reception queues processing.
294 The value specificed must be aligned to the number of reception queues enabled
295 and must be less than the power of 2 number of CPUs.
296 .It Va hw.igbX.msix.txoff
298 and the number of MSI-X vectors is enough to
299 put transmission queue processing and reception queue processing
300 onto independent MSI-X vector,
301 this tunable specifies the leading target CPU
302 for transmission queues processing.
303 The value specificed must be aligned to
304 the number of transmission queues enabled
305 and must be less than the power of 2 number of CPUs.
306 .It Va hw.igb.msi.enable Va hw.igbX.msi.enable
307 If MSI-X is disabled and MSI is supported,
308 the driver will use MSI.
309 This behavior can be turned off by setting this tunable to 0.
310 .It Va hw.igbX.msi.cpu
312 it specifies the MSI's target CPU.
313 .It Va hw.igbX.irq.unshared
314 If legacy interrupt is used,
316 the driver assumes the interrupt could be shared.
317 Setting this tunable to 1 allows the driver to perform certain
318 optimization based on the knowledge that the interrupt is not shared.
319 .It Va hw.igbX.npoll.txoff
320 This tunable specifies the leading target CPU for
324 The value specificed must be aligned to the number of transmission queues
325 enabled and must be less than the power of 2 number of CPUs.
326 .It Va hw.igbX.npoll.rxoff
327 This tunable specifies the leading target CPU for
331 The value specificed must be aligned to the number of reception queues
332 enabled and must be less than the power of 2 number of CPUs.
335 A number of per-interface variables are implemented in the
340 .Bl -tag -width "tx_intr_nsegs"
342 Number of reception queues could be enabled (read-only).
349 Number of reception queues being used (read-only).
351 Number of transmission queues could be enabled (read-only).
358 Number of transmission queues being used (read-only).
360 Number of descriptors per reception queue (read-only).
367 Number of descriptors per transmission queue (read-only).
374 If MSI or legacy interrupt is used,
375 this sysctl controls the highest possible frequency
376 that interrupt could be generated by the device.
377 It is 6000 by default (~150us).
380 this sysctl controls the highest possible frequency
381 that interrupt could be generated by the
384 For reception processing only MSI-X vector,
385 the default value is 6000 (~150us).
386 For transmission processing only MSI-X vector,
387 the default value is 4000 (250us).
388 For MSI-X vector which handles both reception and transmission,
389 the default value is 6000 (~150us).
391 Transmission interrupt is asked to be generated upon every
393 transmission descritors having been setup.
394 The default value is 1/16 of the number of transmission descriptors per queue.
396 The number of transmission descriptors should be setup
397 before the hardware register is written.
398 Setting this value too high will have negative effect
399 on transmission timeliness.
400 Setting this value too low will hurt overall transmission performance
401 due to the frequent hardware register writing.
402 The default value is 8.
404 The number of reception descriptors should be setup
405 before the hardware register is written.
406 Setting this value too high will make device drop incoming packets.
407 Setting this value too low will hurt overall reception performance
408 due to the frequent hardware register writing.
409 The default value is 32.
412 .Va hw.igbX.npoll.rxoff .
413 The set value will take effect the next time
415 is enabled on the device.
418 .Va hw.igbX.npoll.txoff .
419 The set value will take effect the next time
421 is enabled on the device.
424 .\"For general information and support,
425 .\"go to the Intel support website at:
426 .\".Pa http://support.intel.com .
428 .\"If an issue is identified with the released source code on the supported kernel
429 .\"with a supported adapter, email the specific information related to the
431 .\".Aq Mt freebsdnic@mailbox.intel.com .
446 device driver first appeared in
451 driver was written by
452 .An Intel Corporation Aq Mt freebsdnic@mailbox.intel.com .