View | Details | Raw Unified | Return to bug 246885 | Differences between
and this patch

Collapse All | Expand All

(-)share/man/man4/em.4 (-75 / +1 lines)
Lines 31-37 Link Here
31
.\"
31
.\"
32
.\" $FreeBSD$
32
.\" $FreeBSD$
33
.\"
33
.\"
34
.Dd January 30, 2019
34
.Dd August 29, 2020
35
.Dt EM 4
35
.Dt EM 4
36
.Os
36
.Os
37
.Sh NAME
37
.Sh NAME
Lines 70-80 on all but 82542-based adapters. Link Here
70
.Pp
70
.Pp
71
Furthermore it supports TCP segmentation offload (TSO) on all adapters but
71
Furthermore it supports TCP segmentation offload (TSO) on all adapters but
72
those based on the 82543, 82544 and 82547 controller chips.
72
those based on the 82543, 82544 and 82547 controller chips.
73
The identification LEDs of the adapters supported by the
74
.Nm
75
driver can be controlled via the
76
.Xr led 4
77
API for localization purposes.
78
For further hardware information, see the
73
For further hardware information, see the
79
.Pa README
74
.Pa README
80
included with the driver.
75
included with the driver.
Lines 210-283 Intel PRO/1000 XF Server Adapter (82544) Link Here
210
.It
205
.It
211
Intel PRO/1000 XT Server Adapter (82544)
206
Intel PRO/1000 XT Server Adapter (82544)
212
.El
207
.El
213
.Sh LOADER TUNABLES
214
Tunables can be set at the
215
.Xr loader 8
216
prompt before booting the kernel or stored in
217
.Xr loader.conf 5 .
218
.Bl -tag -width indent
219
.It Va hw.em.disable_crc_stripping
220
Disable or enable hardware stripping of CRC field.
221
This is mostly useful on BMC/IPMI shared interfaces where stripping the CRC
222
causes remote access over IPMI to fail.
223
Default 0 (enabled).
224
.It Va hw.em.eee_setting
225
Disable or enable Energy Efficient Ethernet.
226
Default 1 (disabled).
227
.It Va hw.em.msix
228
Enable or disable MSI-X style interrupts.
229
Default 1 (enabled).
230
.It Va hw.em.smart_pwr_down
231
Enable or disable smart power down features on newer adapters.
232
Default 0 (disabled).
233
.It Va hw.em.sbp
234
Show bad packets when in promiscuous mode.
235
Default 0 (off).
236
.It Va hw.em.rxd
237
Number of receive descriptors allocated by the driver.
238
The default value is 1024 for adapters newer than 82547,
239
and 256 for older ones.
240
The 82542 and 82543-based adapters can handle up to 256 descriptors,
241
while others can have up to 4096.
242
.It Va hw.em.txd
243
Number of transmit descriptors allocated by the driver.
244
The default value is 1024 for adapters newer than 82547,
245
and 256 for older ones.
246
The 82542 and 82543-based adapters can handle up to 256 descriptors,
247
while others can have up to 4096.
248
.It Va hw.em.rx_int_delay
249
This value delays the generation of receive interrupts in units of
250
1.024 microseconds.
251
The default value is 0, since adapters may hang with this feature
252
being enabled.
253
.It Va hw.em.rx_abs_int_delay
254
If
255
.Va hw.em.rx_int_delay
256
is non-zero, this tunable limits the maximum delay in which a receive
257
interrupt is generated.
258
.It Va hw.em.tx_int_delay
259
This value delays the generation of transmit interrupts in units of
260
1.024 microseconds.
261
The default value is 64.
262
.It Va hw.em.tx_abs_int_delay
263
If
264
.Va hw.em.tx_int_delay
265
is non-zero, this tunable limits the maximum delay in which a transmit
266
interrupt is generated.
267
.El
268
.Sh FILES
269
.Bl -tag -width /dev/led/em*
270
.It Pa /dev/led/em*
271
identification LED device nodes
272
.El
273
.Sh EXAMPLES
274
Make the identification LED of em0 blink:
275
.Pp
276
.Dl "echo f2 > /dev/led/em0"
277
.Pp
278
Turn the identification LED of em0 off again:
279
.Pp
280
.Dl "echo 0 > /dev/led/em0"
281
.Sh DIAGNOSTICS
208
.Sh DIAGNOSTICS
282
.Bl -diag
209
.Bl -diag
283
.It "em%d: Unable to allocate bus resource: memory"
210
.It "em%d: Unable to allocate bus resource: memory"
Lines 301-307 issue to Link Here
301
.Xr altq 4 ,
228
.Xr altq 4 ,
302
.Xr arp 4 ,
229
.Xr arp 4 ,
303
.Xr iflib 4 ,
230
.Xr iflib 4 ,
304
.Xr led 4 ,
305
.Xr netintro 4 ,
231
.Xr netintro 4 ,
306
.Xr ng_ether 4 ,
232
.Xr ng_ether 4 ,
307
.Xr polling 4 ,
233
.Xr polling 4 ,

Return to bug 246885