2003-01-24 21:28:20 +00:00
|
|
|
.\" Copyright (c) 2001-2003, Intel Corporation
|
2001-12-02 07:45:22 +00:00
|
|
|
.\" All rights reserved.
|
2003-05-21 15:55:40 +00:00
|
|
|
.\"
|
2003-01-24 21:28:20 +00:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions are met:
|
|
|
|
.\"
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
.\" this list of conditions and the following disclaimer.
|
|
|
|
.\"
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" 3. Neither the name of the Intel Corporation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived from
|
|
|
|
.\" this software without specific prior written permission.
|
2001-12-02 07:45:22 +00:00
|
|
|
.\"
|
2002-05-30 08:45:06 +00:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
2003-01-24 21:28:20 +00:00
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
|
|
.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
2001-12-02 07:45:22 +00:00
|
|
|
.\"
|
2002-04-30 17:14:51 +00:00
|
|
|
.\" * Other names and brands may be claimed as the property of others.
|
2002-03-18 12:25:33 +00:00
|
|
|
.\"
|
2002-04-30 17:14:51 +00:00
|
|
|
.\" $FreeBSD$
|
2002-07-26 20:50:35 +00:00
|
|
|
.\"
|
2010-05-14 20:11:30 +00:00
|
|
|
.Dd May 14, 2010
|
2001-12-02 07:45:22 +00:00
|
|
|
.Dt EM 4
|
2002-05-30 08:45:06 +00:00
|
|
|
.Os
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm em
|
2005-01-05 04:31:00 +00:00
|
|
|
.Nd "Intel(R) PRO/1000 Gigabit Ethernet adapter driver"
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh SYNOPSIS
|
2005-10-07 02:32:16 +00:00
|
|
|
To compile this driver into the kernel,
|
2005-11-18 10:56:28 +00:00
|
|
|
place the following line in your
|
2005-07-21 05:02:39 +00:00
|
|
|
kernel configuration file:
|
2005-07-19 00:26:30 +00:00
|
|
|
.Bd -ragged -offset indent
|
2001-12-02 07:45:22 +00:00
|
|
|
.Cd "device em"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2005-10-07 02:32:16 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
2005-07-19 00:26:30 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
if_em_load="YES"
|
|
|
|
.Ed
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2004-09-09 23:41:03 +00:00
|
|
|
driver provides support for PCI Gigabit Ethernet adapters based on
|
2005-01-05 04:31:00 +00:00
|
|
|
the Intel 82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546,
|
2008-10-06 20:45:08 +00:00
|
|
|
82546EB, 82546GB, 82547, 82571, 81572, 82573, and 82574 Ethernet
|
|
|
|
controller chips.
|
2001-12-02 07:45:22 +00:00
|
|
|
The driver supports Transmit/Receive checksum offload
|
2006-09-15 20:52:51 +00:00
|
|
|
and Jumbo Frames on all but 82542-based adapters.
|
|
|
|
Furthermore it supports TCP segmentation offload (TSO) on all adapters but
|
|
|
|
those based on the 82543, 82544 and 82547 controller chips.
|
2010-05-14 20:11:30 +00:00
|
|
|
The identification LEDs of the adapters supported by the
|
|
|
|
.Nm
|
|
|
|
driver can be controlled via the
|
|
|
|
.Xr led 4
|
|
|
|
API for localization purposes.
|
2004-09-09 23:41:03 +00:00
|
|
|
For further hardware information, see the
|
2002-05-30 08:45:06 +00:00
|
|
|
.Pa README
|
2001-12-02 07:45:22 +00:00
|
|
|
included with the driver.
|
|
|
|
.Pp
|
2002-05-30 08:45:06 +00:00
|
|
|
For questions related to hardware requirements,
|
|
|
|
refer to the documentation supplied with your Intel PRO/1000 adapter.
|
|
|
|
All hardware requirements listed apply to use with
|
2002-03-18 12:25:33 +00:00
|
|
|
.Fx .
|
2001-12-02 07:45:22 +00:00
|
|
|
.Pp
|
2002-02-13 18:19:27 +00:00
|
|
|
Support for Jumbo Frames is provided via the interface MTU setting.
|
2001-12-02 07:45:22 +00:00
|
|
|
Selecting an MTU larger than 1500 bytes with the
|
|
|
|
.Xr ifconfig 8
|
2002-02-13 18:19:27 +00:00
|
|
|
utility configures the adapter to receive and transmit Jumbo Frames.
|
|
|
|
The maximum MTU size for Jumbo Frames is 16114.
|
2001-12-02 07:45:22 +00:00
|
|
|
.Pp
|
2002-07-26 20:50:35 +00:00
|
|
|
This driver version supports VLANs.
|
2001-12-02 07:45:22 +00:00
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media types:
|
2002-03-18 12:25:33 +00:00
|
|
|
.Bl -tag -width ".Cm 10baseT/UTP"
|
|
|
|
.It Cm autoselect
|
2001-12-02 07:45:22 +00:00
|
|
|
Enables auto-negotiation for speed and duplex.
|
2002-03-18 12:25:33 +00:00
|
|
|
.It Cm 10baseT/UTP
|
2001-12-02 07:45:22 +00:00
|
|
|
Sets 10Mbps operation.
|
2002-02-13 18:19:27 +00:00
|
|
|
Use the
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm mediaopt
|
2002-02-13 18:19:27 +00:00
|
|
|
option to select
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm full-duplex
|
2002-02-13 18:19:27 +00:00
|
|
|
mode.
|
2002-03-18 12:25:33 +00:00
|
|
|
.It Cm 100baseTX
|
2001-12-02 07:45:22 +00:00
|
|
|
Sets 100Mbps operation.
|
2002-02-13 18:19:27 +00:00
|
|
|
Use the
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm mediaopt
|
2002-02-13 18:19:27 +00:00
|
|
|
option to select
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm full-duplex
|
2002-02-13 18:19:27 +00:00
|
|
|
mode.
|
2002-03-18 12:25:33 +00:00
|
|
|
.It Cm 1000baseSX
|
2001-12-02 07:45:22 +00:00
|
|
|
Sets 1000Mbps operation.
|
2002-05-30 08:45:06 +00:00
|
|
|
Only
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm full-duplex
|
2001-12-02 07:45:22 +00:00
|
|
|
mode is supported at this speed.
|
2002-03-18 12:25:33 +00:00
|
|
|
.It Cm 1000baseTX
|
2001-12-02 07:45:22 +00:00
|
|
|
Sets 1000Mbps operation.
|
2002-05-30 08:45:06 +00:00
|
|
|
Only
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm full-duplex
|
2001-12-02 07:45:22 +00:00
|
|
|
mode is supported at this speed.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media options:
|
2002-03-18 12:25:33 +00:00
|
|
|
.Bl -tag -width ".Cm full-duplex"
|
|
|
|
.It Cm full-duplex
|
2002-02-13 18:19:27 +00:00
|
|
|
Forces full-duplex operation
|
2002-03-18 12:25:33 +00:00
|
|
|
.It Cm half-duplex
|
2002-02-13 18:19:27 +00:00
|
|
|
Forces half-duplex operation.
|
2001-12-02 07:45:22 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
2002-05-30 08:45:06 +00:00
|
|
|
Only use
|
|
|
|
.Cm mediaopt
|
|
|
|
to set the driver to
|
|
|
|
.Cm full-duplex .
|
|
|
|
If
|
|
|
|
.Cm mediaopt
|
|
|
|
is not specified, the driver defaults to
|
2002-03-18 12:25:33 +00:00
|
|
|
.Cm half-duplex .
|
2002-02-13 18:19:27 +00:00
|
|
|
.Pp
|
2001-12-02 07:45:22 +00:00
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8 .
|
2004-09-09 23:41:03 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports Gigabit Ethernet adapters based on the Intel
|
2005-01-05 04:31:00 +00:00
|
|
|
82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB,
|
2008-10-06 20:45:08 +00:00
|
|
|
82546GB, 82547, 82571, 82572, 82573, and 82574 controller chips:
|
2004-09-09 23:41:03 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 CT Network Connection (82547)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 F Server Adapter (82543)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 Gigabit Server Adapter (82542)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 GT Desktop Adapter (82541PI)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MF Dual Port Server Adapter (82546)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MF Server Adapter (82545)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MF Server Adapter (LX) (82545)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MT Desktop Adapter (82540)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MT Desktop Adapter (82541)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MT Dual Port Server Adapter (82546)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MT Quad Port Server Adapter (82546EB)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 MT Server Adapter (82545)
|
|
|
|
.It
|
2008-10-06 20:45:08 +00:00
|
|
|
Intel PRO/1000 PF Dual Port Server Adapter (82571)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PF Quad Port Server Adapter (82571)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PF Server Adapter (82572)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PT Desktop Adapter (82572)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PT Dual Port Server Adapter (82571)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PT Quad Port Server Adapter (82571)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 PT Server Adapter (82572)
|
|
|
|
.It
|
2004-09-09 23:41:03 +00:00
|
|
|
Intel PRO/1000 T Desktop Adapter (82544)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 T Server Adapter (82543)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 XF Server Adapter (82544)
|
|
|
|
.It
|
|
|
|
Intel PRO/1000 XT Server Adapter (82544)
|
|
|
|
.El
|
2005-11-17 15:10:40 +00:00
|
|
|
.Sh LOADER TUNABLES
|
|
|
|
Tunables can be set at the
|
|
|
|
.Xr loader 8
|
|
|
|
prompt before booting the kernel or stored in
|
2005-11-18 10:56:28 +00:00
|
|
|
.Xr loader.conf 5 .
|
2005-11-17 15:10:40 +00:00
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Va 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.
|
|
|
|
.It Va 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.
|
|
|
|
.It Va hw.em.rx_int_delay
|
|
|
|
This value delays the generation of receive interrupts in units of
|
|
|
|
1.024 microseconds.
|
|
|
|
The default value is 0, since adapters may hang with this feature
|
|
|
|
being enabled.
|
|
|
|
.It Va hw.em.rx_abs_int_delay
|
|
|
|
If
|
|
|
|
.Va hw.em.rx_int_delay
|
|
|
|
is non-zero, this tunable limits the maximum delay in which a receive
|
|
|
|
interrupt is generated.
|
|
|
|
.It Va hw.em.tx_int_delay
|
|
|
|
This value delays the generation of transmit interrupts in units of
|
|
|
|
1.024 microseconds.
|
|
|
|
The default value is 64.
|
|
|
|
.It Va hw.em.tx_abs_int_delay
|
|
|
|
If
|
|
|
|
.Va hw.em.tx_int_delay
|
|
|
|
is non-zero, this tunable limits the maximum delay in which a transmit
|
|
|
|
interrupt is generated.
|
|
|
|
.El
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "em%d: Unable to allocate bus resource: memory"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "em%d: Unable to allocate bus resource: interrupt"
|
|
|
|
A fatal initialization error has occurred.
|
|
|
|
.It "em%d: watchdog timeout -- resetting"
|
|
|
|
The device has stopped responding to the network, or there is a problem with
|
|
|
|
the network connection (cable).
|
|
|
|
.El
|
|
|
|
.Sh SUPPORT
|
2002-05-30 08:45:06 +00:00
|
|
|
For general information and support,
|
2002-02-13 18:19:27 +00:00
|
|
|
go to the Intel support website at:
|
2002-05-30 08:45:06 +00:00
|
|
|
.Pa http://support.intel.com .
|
2001-12-02 07:45:22 +00:00
|
|
|
.Pp
|
2002-05-30 08:45:06 +00:00
|
|
|
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
|
|
|
|
.Aq freebsdnic@mailbox.intel.com .
|
2010-05-14 20:11:30 +00:00
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /dev/led/em*
|
|
|
|
.It Pa /dev/led/em*
|
|
|
|
identification LED device nodes
|
|
|
|
.El
|
|
|
|
.Sh EXAMPLES
|
|
|
|
Make the identification LED of em0 blink:
|
|
|
|
.Pp
|
|
|
|
.Dl "echo f2 > /dev/led/em0"
|
|
|
|
.Pp
|
|
|
|
Turn the identification LED of em0 off again:
|
|
|
|
.Pp
|
|
|
|
.Dl "echo 0 > /dev/led/em0"
|
|
|
|
.Pp
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh SEE ALSO
|
2007-01-30 08:40:04 +00:00
|
|
|
.Xr altq 4 ,
|
2001-12-02 07:45:22 +00:00
|
|
|
.Xr arp 4 ,
|
2008-10-06 21:55:53 +00:00
|
|
|
.Xr igb 4 ,
|
2010-05-14 20:11:30 +00:00
|
|
|
.Xr led 4 ,
|
2002-05-30 08:45:06 +00:00
|
|
|
.Xr netintro 4 ,
|
2002-04-30 17:14:51 +00:00
|
|
|
.Xr ng_ether 4 ,
|
2004-11-24 19:06:43 +00:00
|
|
|
.Xr polling 4 ,
|
2002-05-30 08:45:06 +00:00
|
|
|
.Xr vlan 4 ,
|
2001-12-02 07:45:22 +00:00
|
|
|
.Xr ifconfig 8
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
2002-02-13 18:19:27 +00:00
|
|
|
.Fx 4.4 .
|
2001-12-02 07:45:22 +00:00
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
|
|
|
.An Intel Corporation Aq freebsdnic@mailbox.intel.com .
|
2005-01-30 12:29:06 +00:00
|
|
|
.Sh BUGS
|
|
|
|
Hardware-assisted VLAN processing is disabled by default.
|
|
|
|
You can enable it on an
|
|
|
|
.Nm
|
|
|
|
interface using
|
2005-02-20 00:09:38 +00:00
|
|
|
.Xr ifconfig 8 .
|