DragonFly On-Line Manual Pages


EM(4)		      DragonFly Kernel Interfaces Manual		 EM(4)

NAME

em, emx -- Intel(R) PRO/1000 Gigabit Ethernet adapter driver

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file: device ig_hal device em # for em(4) device emx # for emx(4) Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): ig_hal_load="YES" if_em_load="YES" # for em(4) if_emx_load="YES" # for emx(4)

DESCRIPTION

The em driver provides support for PCI Gigabit Ethernet adapters based on the Intel 82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB, 82546GB, 82547, 82571, 81572, 82573, and 82574 Ethernet con- troller chips. The driver supports Transmit/Receive checksum offload and Jumbo Frames on all but 82542-based adapters. Furthermore it supports TCP segmentation offload (TSO) on adapters based on the 82571, 82572, 82573 and 82574 controller chips. For further hardware information, see the README included with the driver. The emx is a version of the em driver for 82571, 82572, 82573, and 82574 Ethernet controller chips that additionally supports RSS (Receive Side Scaling). For questions related to hardware requirements, refer to the documenta- tion supplied with your Intel PRO/1000 adapter. All hardware require- ments listed apply to use with DragonFly. Support for Jumbo Frames is provided via the interface MTU setting. Selecting an MTU larger than 1500 bytes with the ifconfig(8) utility con- figures the adapter to receive and transmit Jumbo Frames. The maximum MTU size for Jumbo Frames is 16114. This driver version supports VLANs. The em and emx drivers support the following media types: autoselect Enables auto-negotiation for speed and duplex. 10baseT/UTP Sets 10Mbps operation. Use the mediaopt option to select full-duplex mode. 100baseTX Sets 100Mbps operation. Use the mediaopt option to select full-duplex mode. 1000baseSX Sets 1000Mbps operation. Only full-duplex mode is supported at this speed. 1000baseT Sets 1000Mbps operation. Only full-duplex mode is supported at this speed. The em and emx drivers support the following media options: full-duplex Forces full-duplex operation half-duplex Forces half-duplex operation. Only use mediaopt to set the driver to full-duplex. If mediaopt is not specified, the driver defaults to half-duplex. For more information on configuring this device, see ifconfig(8). The em and emx drivers support polling(4).

HARDWARE

The em driver supports Gigabit Ethernet adapters based on the Intel 82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB, 82546GB, 82547, 82571, 82572, 82573, and 82574 controller chips: * Intel PRO/1000 CT Network Connection (82547) * Intel PRO/1000 F Server Adapter (82543) * Intel PRO/1000 Gigabit Server Adapter (82542) * Intel PRO/1000 GT Desktop Adapter (82541PI) * Intel PRO/1000 MF Dual Port Server Adapter (82546) * Intel PRO/1000 MF Server Adapter (82545) * Intel PRO/1000 MF Server Adapter (LX) (82545) * Intel PRO/1000 MT Desktop Adapter (82540) * Intel PRO/1000 MT Desktop Adapter (82541) * Intel PRO/1000 MT Dual Port Server Adapter (82546) * Intel PRO/1000 MT Quad Port Server Adapter (82546EB) * Intel PRO/1000 MT Server Adapter (82545) * Intel PRO/1000 PF Dual Port Server Adapter (82571) * Intel PRO/1000 PF Quad Port Server Adapter (82571) * Intel PRO/1000 PF Server Adapter (82572) * Intel PRO/1000 PT Desktop Adapter (82572) * Intel PRO/1000 PT Dual Port Server Adapter (82571) * Intel PRO/1000 PT Quad Port Server Adapter (82571) * Intel PRO/1000 PT Server Adapter (82572) * Intel PRO/1000 T Desktop Adapter (82544) * Intel PRO/1000 T Server Adapter (82543) * Intel PRO/1000 XF Server Adapter (82544) * Intel PRO/1000 XT Server Adapter (82544) The emx driver supports Gigabit Ethernet adapters based on the Intel 82571, 82572, 82573, and 82574 controller chips.

LOADER TUNABLES

Tunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5). hw.em.int_throttle_ceil Hardware interrupt throttling rate. The default value is 10000Hz. hw.em.rxd Number of receive descriptors allocated by the driver. The default value is 256. The 82542 and 82543-based adapters can handle up to 256 descriptors, while others can have up to 4096. hw.em.txd Number of transmit descriptors allocated by the driver. The default value is 256. The 82542 and 82543-based adapters can handle up to 256 descriptors, while others can have up to 4096. hw.em.int_tx_nsegs This value controls how many transmit descriptors should be con- sumed by the hardware before the hardware generates a transmit interrupt. The default value is 1/16 of the number of transmit descriptors. If polling(4) is not used on the hardware and the major part of the transmitted data are bulk data, this value could safely be set to 1/2 of the number of transmit descriptors. hw.em.msi.enable By default, the driver will use MSI if it is supported. This behavior can be turned off by setting this tunable to 0.

DIAGNOSTICS

em%d: Unable to allocate bus resource: memory A fatal initialization error has occurred. em%d: Unable to allocate bus resource: interrupt A fatal initialization error has occurred. em%d: watchdog timeout -- resetting The device has stopped responding to the network, or there is a problem with the network connection (cable).

SUPPORT

For general information and support, go to the Intel support website at: http://support.intel.com. If an issue is identified with the released source code on the supported kernel with a supported adapter, email the specific information related to the issue to <freebsdnic@mailbox.intel.com>.

SEE ALSO

arp(4), ifmedia(4), netintro(4), ng_ether(4), polling(4), vlan(4), ifconfig(8)

HISTORY

The em device driver first appeared in FreeBSD 4.4 and the emx driver first appeared in DragonFly 2.3.

AUTHORS

The em driver was written by Intel Corporation <freebsdnic@mailbox.intel.com>. The emx driver was written by Sepherosa Ziehau (in parts based on Intel's). DragonFly 3.5 September 17, 2012 DragonFly 3.5