kernel: Use the new auto-created sysctl ctx/tree in various drivers.
[dragonfly.git] / share / man / man4 / ale.4
1 .\" Copyright (c) 2008 Pyun YongHyeon
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
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD: src/share/man/man4/ale.4,v 1.2 2008/11/29 18:09:50 brueffer Exp $
26 .\"
27 .Dd November 28, 2014
28 .Dt ALE 4
29 .Os
30 .Sh NAME
31 .Nm ale
32 .Nd Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet driver
33 .Sh SYNOPSIS
34 To compile this driver into the kernel,
35 place the following lines in your
36 kernel configuration file:
37 .Bd -ragged -offset indent
38 .Cd "device miibus"
39 .Cd "device ale"
40 .Ed
41 .Pp
42 Alternatively, to load the driver as a
43 module at boot time, place the following line in
44 .Xr loader.conf 5 :
45 .Bd -literal -offset indent
46 if_ale_load="YES"
47 .Ed
48 .Sh DESCRIPTION
49 The
50 .Nm
51 device driver provides support for Atheros AR8121 PCI Express
52 Gigabit Ethernet controllers and Atheros AR8113/AR8114 PCI
53 Express Fast Ethernet controllers.
54 .Pp
55 All LOMs supported by the
56 .Nm
57 driver have TCP/UDP/IP checksum offload for both receive and transmit,
58 hardware VLAN tag stripping/insertion features and
59 an interrupt coalescing/moderation
60 mechanism as well as a 64-bit multicast hash filter.
61 .Pp
62 The AR8121 also supports Jumbo Frames (up to 8132 bytes),
63 which can be configured via the interface MTU setting.
64 Selecting an MTU larger than 1500 bytes with the
65 .Xr ifconfig 8
66 utility configures the adapter to receive and transmit Jumbo Frames.
67 .Pp
68 The
69 .Nm
70 driver supports the following media types:
71 .Bl -tag -width ".Cm 10baseT/UTP"
72 .It Cm autoselect
73 Enable autoselection of the media type and options.
74 The user can manually override
75 the autoselected mode by adding media options to
76 .Xr rc.conf 5 .
77 .It Cm 10baseT/UTP
78 Set 10Mbps operation.
79 .It Cm 100baseTX
80 Set 100Mbps (Fast Ethernet) operation.
81 .It Cm 1000baseT
82 Set 1000baseT operation over twisted pair.
83 .El
84 .Pp
85 The
86 .Nm
87 driver supports the following media options:
88 .Bl -tag -width ".Cm full-duplex"
89 .It Cm full-duplex
90 Force full duplex operation.
91 .It Cm half-duplex
92 Force half duplex operation.
93 .El
94 .Pp
95 For more information on configuring this device, see
96 .Xr ifconfig 8 .
97 .Sh HARDWARE
98 The
99 .Nm
100 device driver provides support for the following Ethernet controllers:
101 .Pp
102 .Bl -bullet -compact
103 .It
104 Atheros AR8113 PCI Express Fast Ethernet controller
105 .It
106 Atheros AR8114 PCI Express Fast Ethernet controller
107 .It
108 Atheros AR8121 PCI Express Gigabit Ethernet controller
109 .El
110 .Sh SYSCTL VARIABLES
111 .\"The following variables are available as both
112 .\".Xr sysctl 8
113 .\"variables and
114 .\".Xr loader 8
115 .\"tunables:
116 .Bl -tag -width "xxxxxx"
117 .It Va dev.ale.%d.int_rx_mod
118 Maximum amount of time to delay receive interrupt processing in
119 units of 1us.
120 The accepted range is 0 to 130000, the default is 30(30us).
121 Value 0 completely disables the interrupt moderation.
122 .It Va dev.ale.%d.int_tx_mod
123 Maximum amount of time to delay transmit interrupt processing in
124 units of 1us.
125 The accepted range is 0 to 130000, the default is 1000(1ms).
126 Value 0 completely disables the interrupt moderation.
127 .El
128 .Sh SEE ALSO
129 .Xr altq 4 ,
130 .Xr arp 4 ,
131 .Xr ifmedia 4 ,
132 .Xr miibus 4 ,
133 .Xr netintro 4 ,
134 .Xr ng_ether 4 ,
135 .Xr vlan 4 ,
136 .Xr ifconfig 8
137 .Sh HISTORY
138 The
139 .Nm
140 driver was written by
141 .An Pyun YongHyeon Aq Mt yongari@FreeBSD.org .
142 It first appeared in
143 .Fx 7.1 .