Add ale(4) for Atheros AR8121/AR8113/AR8114 PCIe ethernet controller.
[dragonfly.git] / share / man / man4 / em.4
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.2.2.6 2003/02/01 01:21:31 pdeuskar Exp $
33 .\" $DragonFly: src/share/man/man4/em.4,v 1.12 2008/07/11 10:38:50 thomas Exp $
34 .\"
35 .Dd February 1, 2008
36 .Dt EM 4
37 .Os
38 .Sh NAME
39 .Nm em
40 .Nd "Intel(R) PRO/1000 gigabit Ethernet driver"
41 .Sh SYNOPSIS
42 .Cd "device em"
43 .Sh DESCRIPTION
44 The
45 .Nm
46 driver provides support for PCI gigabit Ethernet adapters based on
47 the Intel 82540, 82541, 82542, 82543, 82544, 82546, and 82547 Ethernet
48 controller chips.
49 The driver does not support Transmit/Receive checksum offload and
50 Jumbo Frames on adapters based on the Intel 82542 and 82573 LAN controllers.
51 For a list of supported adapters, see the
52 .Pa README
53 included with the driver.
54 .Pp
55 For questions related to hardware requirements,
56 refer to the documentation supplied with your Intel PRO/1000 adapter.
57 All hardware requirements listed apply to use with
58 .Dx .
59 .Pp
60 Support for Jumbo Frames is provided via the interface MTU setting.
61 Selecting an MTU larger than 1500 bytes with the
62 .Xr ifconfig 8
63 utility configures the adapter to receive and transmit Jumbo Frames.
64 The maximum MTU setting for Jumbo Frames is 16110.
65 This value coincides with the maximum Jumbo Frames size of 16128.
66 Some Intel gigabit adapters that support Jumbo Frames have a frame size
67 limit of 9238 bytes, with a corresponding MTU size limit of 9216 bytes.
68 The adapters with this limitation are based on the Intel(R)
69 82571EB, 82572EI, 82573L, 82563EB and 82564EI LAN controllers.
70 These correspond to the following product names:
71 .Pp
72 .Bl -bullet -compact
73 .It
74 Intel(R) PRO/1000 PT Server Adapter
75 .It
76 Intel(R) PRO/1000 PT Desktop Adapter
77 .It
78 Intel(R) PRO/1000 PT Network Connection
79 .It
80 Intel(R) PRO/1000 PT Dual Port Server Adapter
81 .It
82 Intel(R) PRO/1000 PT Dual Port Network Connection
83 .It
84 Intel(R) PRO/1000 PT Quad Port Server Adapter
85 .It
86 Intel(R) PRO/1000 PF Quad Port Server Adapter
87 .It
88 Intel(R) PRO/1000 PF Server Adapter
89 .It
90 Intel(R) PRO/1000 PF Network Connection
91 .It
92 Intel(R) PRO/1000 PF Dual Port Server Adapter
93 .It
94 Intel(R) PRO/1000 PB Server Connection
95 .It
96 Intel(R) PRO/1000 PL Network Connection
97 .It
98 Intel(R) PRO/1000 EB Network Connection with I/O Acceleration
99 .It
100 Intel(R) PRO/1000 EB Backplane Connection with I/O Acceleration
101 .It
102 Intel(R) 82566DM-2 Gigabit Network Connection
103 .El
104 .Pp
105 Adapters based on the Intel(R) 82542 and 82573V/E controller do not
106 support Jumbo Frames.
107 These correspond to the following product names:
108 .Pp
109 .Bl -bullet -compact
110 .It
111 Intel(R) PRO/1000 Gigabit Server Adapter
112 .It
113 Intel(R) PRO/1000 PM Network Connection
114 .El
115 .Pp
116 Using Jumbo Frames at 10 or 100 Mbps may result in poor performance or
117 loss of link.
118 .Pp
119 The following adapters do not support Jumbo Frames:
120 .Pp
121 .Bl -bullet -compact
122 .It
123 Intel(R) 82562V 10/100 Network Connection
124 .It
125 Intel(R) 82566DM Gigabit Network Connection
126 .It
127 Intel(R) 82566DC Gigabit Network Connection
128 .It
129 Intel(R) 82566MM Gigabit Network Connection
130 .It
131 Intel(R) 82566MC Gigabit Network Connection
132 .El
133 .Pp
134 This driver version supports VLANs.
135 For information on enabling VLANs,
136 see the
137 .Pa README .
138 The
139 .Nm
140 driver supports the following media types:
141 .Bl -tag -width ".Cm 10baseT/UTP"
142 .It Cm autoselect
143 Enables auto-negotiation for speed and duplex.
144 .It Cm 10baseT/UTP
145 Sets 10Mbps operation.
146 Use the
147 .Cm mediaopt
148 option to select
149 .Cm full-duplex
150 mode.
151 .It Cm 100baseTX
152 Sets 100Mbps operation.
153 Use the
154 .Cm mediaopt
155 option to select
156 .Cm full-duplex
157 mode.
158 .It Cm 1000baseSX
159 Sets 1000Mbps operation.
160 Only
161 .Cm full-duplex
162 mode is supported at this speed.
163 .It Cm 1000baseT
164 Sets 1000Mbps operation.
165 Only
166 .Cm full-duplex
167 mode is supported at this speed.
168 .El
169 .Pp
170 The
171 .Nm
172 driver supports the following media options:
173 .Bl -tag -width ".Cm full-duplex"
174 .It Cm full-duplex
175 Forces full-duplex operation
176 .It Cm half-duplex
177 Forces half-duplex operation.
178 .El
179 .Pp
180 Only use
181 .Cm mediaopt
182 to set the driver to
183 .Cm full-duplex .
184 If
185 .Cm mediaopt
186 is not specified, the driver defaults to
187 .Cm half-duplex .
188 .Pp
189 For more information on configuring this device, see
190 .Xr ifconfig 8 .
191 The
192 .Nm
193 driver supports
194 .Xr polling 4 .
195 .Sh TUNABLES
196 .Bl -tag -width ".Va hw.em.int_throttle_ceil"
197 .It Va hw.em.int_throttle_ceil
198 Hardware interrupt throttling rate.
199 The default value is 10000Hz.
200 .It Va hw.em.rxd
201 Number of receive descriptors allocated by the driver.
202 The default value is 256.
203 The 82542 and 82543-based adapters can handle up to 256 descriptors,
204 while others can have up to 4096.
205 .It Va hw.em.txd
206 Number of transmit descriptors allocated by the driver.
207 The default value is 256.
208 The 82542 and 82543-based adapters can handle up to 256 descriptors,
209 while others can have up to 4096.
210 .It Va hw.em.rx_int_delay
211 This value delays the generation of receive interrupts in units of
212 1.024 microseconds.
213 The default value is 0, since adapters may hang with this feature
214 being enabled.
215 .It Va hw.em.rx_abs_int_delay
216 If
217 .Va hw.em.rx_int_delay
218 is non-zero, this tunable limits the maximum delay in which a receive
219 interrupt is generated.
220 .It Va hw.em.tx_int_delay
221 This value delays the generation of transmit interrupts in units of
222 1.024 microseconds.
223 The default value is 64.
224 .It Va hw.em.tx_abs_int_delay
225 If
226 .Va hw.em.tx_int_delay
227 is non-zero, this tunable limits the maximum delay in which a transmit
228 interrupt is generated.
229 .El
230 .Sh DIAGNOSTICS
231 .Bl -diag
232 .It "em%d: Unable to allocate bus resource: memory"
233 A fatal initialization error has occurred.
234 .It "em%d: Unable to allocate bus resource: interrupt"
235 A fatal initialization error has occurred.
236 .It "em%d: watchdog timeout -- resetting"
237 The device has stopped responding to the network, or there is a problem with
238 the network connection (cable).
239 .El
240 .Sh SUPPORT
241 For additional information regarding building and installation,
242 see the
243 .Pa README
244 included with the driver.
245 For general information and support,
246 go to the Intel support website at:
247 .Pa http://support.intel.com .
248 .Pp
249 If an issue is identified with the released source code on the supported kernel
250 with a supported adapter, email the specific information related to the
251 issue to
252 .Aq freebsdnic@mailbox.intel.com .
253 .Sh SEE ALSO
254 .Xr arp 4 ,
255 .Xr ifmedia 4 ,
256 .Xr netintro 4 ,
257 .Xr ng_ether 4 ,
258 .Xr polling 4 ,
259 .Xr vlan 4 ,
260 .Xr ifconfig 8
261 .Sh HISTORY
262 The
263 .Nm
264 device driver first appeared in
265 .Fx 4.4 .
266 .Sh AUTHORS
267 The
268 .Nm
269 driver was written by
270 .An Intel Corporation Aq freebsdnic@mailbox.intel.com .