xref: /dragonfly/share/man/man4/em.4 (revision 6693db17)
1.\" Copyright (c) 2001-2003, Intel Corporation
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions are met:
6.\"
7.\" 1. Redistributions of source code must retain the above copyright notice,
8.\"    this list of conditions and the following disclaimer.
9.\"
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.
13.\"
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.
17.\"
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.
29.\"
30.\" * Other names and brands may be claimed as the property of others.
31.\"
32.\" $FreeBSD: src/share/man/man4/em.4,v 1.30 2008/10/06 21:55:53 simon Exp $
33.\" $DragonFly: src/share/man/man4/em.4,v 1.12 2008/07/11 10:38:50 thomas Exp $
34.\"
35.Dd February 27, 2009
36.Dt EM 4
37.Os
38.Sh NAME
39.Nm em
40.Nd "Intel(R) PRO/1000 Gigabit Ethernet adapter driver"
41.Sh SYNOPSIS
42To compile this driver into the kernel,
43place the following lines in your
44kernel configuration file:
45.Bd -ragged -offset indent
46.Cd "device ig_hal"
47.Cd "device em"
48.Ed
49.Pp
50Alternatively, to load the driver as a
51module at boot time, place the following lines in
52.Xr loader.conf 5 :
53.Bd -literal -offset indent
54ig_hal_load="YES"
55if_em_load="YES"
56.Ed
57.Sh DESCRIPTION
58The
59.Nm
60driver provides support for PCI Gigabit Ethernet adapters based on
61the Intel 82540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546,
6282546EB, 82546GB, 82547, 82571, 81572, 82573, and 82574 Ethernet
63controller chips.
64The driver supports Transmit/Receive checksum offload
65and Jumbo Frames on all but 82542-based adapters.
66.\" Furthermore it supports TCP segmentation offload (TSO) on all adapters but
67.\" those based on the 82543, 82544 and 82547 controller chips.
68For further hardware information, see the
69.Pa README
70included with the driver.
71.Pp
72For questions related to hardware requirements,
73refer to the documentation supplied with your Intel PRO/1000 adapter.
74All hardware requirements listed apply to use with
75.Dx .
76.Pp
77Support for Jumbo Frames is provided via the interface MTU setting.
78Selecting an MTU larger than 1500 bytes with the
79.Xr ifconfig 8
80utility configures the adapter to receive and transmit Jumbo Frames.
81The maximum MTU size for Jumbo Frames is 16114.
82.Pp
83This driver version supports VLANs.
84The
85.Nm
86driver supports the following media types:
87.Bl -tag -width ".Cm 10baseT/UTP"
88.It Cm autoselect
89Enables auto-negotiation for speed and duplex.
90.It Cm 10baseT/UTP
91Sets 10Mbps operation.
92Use the
93.Cm mediaopt
94option to select
95.Cm full-duplex
96mode.
97.It Cm 100baseTX
98Sets 100Mbps operation.
99Use the
100.Cm mediaopt
101option to select
102.Cm full-duplex
103mode.
104.It Cm 1000baseSX
105Sets 1000Mbps operation.
106Only
107.Cm full-duplex
108mode is supported at this speed.
109.It Cm 1000baseT
110Sets 1000Mbps operation.
111Only
112.Cm full-duplex
113mode is supported at this speed.
114.El
115.Pp
116The
117.Nm
118driver supports the following media options:
119.Bl -tag -width ".Cm full-duplex"
120.It Cm full-duplex
121Forces full-duplex operation
122.It Cm half-duplex
123Forces half-duplex operation.
124.El
125.Pp
126Only use
127.Cm mediaopt
128to set the driver to
129.Cm full-duplex .
130If
131.Cm mediaopt
132is not specified, the driver defaults to
133.Cm half-duplex .
134.Pp
135For more information on configuring this device, see
136.Xr ifconfig 8 .
137The
138.Nm
139driver supports
140.Xr polling 4 .
141.Sh HARDWARE
142The
143.Nm
144driver supports Gigabit Ethernet adapters based on the Intel
14582540, 82541ER, 82541PI, 82542, 82543, 82544, 82545, 82546, 82546EB,
14682546GB, 82547, 82571, 82572, 82573, and 82574 controller chips:
147.Pp
148.Bl -bullet -compact
149.It
150Intel PRO/1000 CT Network Connection (82547)
151.It
152Intel PRO/1000 F Server Adapter (82543)
153.It
154Intel PRO/1000 Gigabit Server Adapter (82542)
155.It
156Intel PRO/1000 GT Desktop Adapter (82541PI)
157.It
158Intel PRO/1000 MF Dual Port Server Adapter (82546)
159.It
160Intel PRO/1000 MF Server Adapter (82545)
161.It
162Intel PRO/1000 MF Server Adapter (LX) (82545)
163.It
164Intel PRO/1000 MT Desktop Adapter (82540)
165.It
166Intel PRO/1000 MT Desktop Adapter (82541)
167.It
168Intel PRO/1000 MT Dual Port Server Adapter (82546)
169.It
170Intel PRO/1000 MT Quad Port Server Adapter (82546EB)
171.It
172Intel PRO/1000 MT Server Adapter (82545)
173.It
174Intel PRO/1000 PF Dual Port Server Adapter (82571)
175.It
176Intel PRO/1000 PF Quad Port Server Adapter (82571)
177.It
178Intel PRO/1000 PF Server Adapter (82572)
179.It
180Intel PRO/1000 PT Desktop Adapter (82572)
181.It
182Intel PRO/1000 PT Dual Port Server Adapter (82571)
183.It
184Intel PRO/1000 PT Quad Port Server Adapter (82571)
185.It
186Intel PRO/1000 PT Server Adapter (82572)
187.It
188Intel PRO/1000 T Desktop Adapter (82544)
189.It
190Intel PRO/1000 T Server Adapter (82543)
191.It
192Intel PRO/1000 XF Server Adapter (82544)
193.It
194Intel PRO/1000 XT Server Adapter (82544)
195.El
196.Sh LOADER TUNABLES
197Tunables can be set at the
198.Xr loader 8
199prompt before booting the kernel or stored in
200.Xr loader.conf 5 .
201.Bl -tag -width indent
202.It Va hw.em.int_throttle_ceil
203Hardware interrupt throttling rate.
204The default value is 10000Hz.
205.It Va hw.em.rxd
206Number of receive descriptors allocated by the driver.
207The default value is 256.
208The 82542 and 82543-based adapters can handle up to 256 descriptors,
209while others can have up to 4096.
210.It Va hw.em.txd
211Number of transmit descriptors allocated by the driver.
212The default value is 256.
213The 82542 and 82543-based adapters can handle up to 256 descriptors,
214while others can have up to 4096.
215.It Va hw.em.int_tx_nsegs
216This value controls how many transmit descriptors should be consumed
217by the hardware before the hardware generates a transmit interrupt.
218The default value is 1/16 of the number of transmit descriptors.
219If
220.Xr polling 4
221is not used on the hardware and
222the major part of the transmitted data are bulk data,
223this value could safely be set to 1/2 of the number of transmit descriptors.
224.El
225.Sh DIAGNOSTICS
226.Bl -diag
227.It "em%d: Unable to allocate bus resource: memory"
228A fatal initialization error has occurred.
229.It "em%d: Unable to allocate bus resource: interrupt"
230A fatal initialization error has occurred.
231.It "em%d: watchdog timeout -- resetting"
232The device has stopped responding to the network, or there is a problem with
233the network connection (cable).
234.El
235.Sh SUPPORT
236For general information and support,
237go to the Intel support website at:
238.Pa http://support.intel.com .
239.Pp
240If an issue is identified with the released source code on the supported kernel
241with a supported adapter, email the specific information related to the
242issue to
243.Aq freebsdnic@mailbox.intel.com .
244.Sh SEE ALSO
245.Xr arp 4 ,
246.Xr ifmedia 4 ,
247.Xr netintro 4 ,
248.Xr ng_ether 4 ,
249.Xr polling 4 ,
250.Xr vlan 4 ,
251.Xr ifconfig 8
252.Sh HISTORY
253The
254.Nm
255device driver first appeared in
256.Fx 4.4 .
257.Sh AUTHORS
258The
259.Nm
260driver was written by
261.An Intel Corporation Aq freebsdnic@mailbox.intel.com .
262