xref: /dflybsd-src/share/man/man4/et.4 (revision 687c98c05ed4711616a6051aae5cff7c734fc55c)
1d217d4d9SSepherosa Ziehau.\"
2d217d4d9SSepherosa Ziehau.\" Copyright (c) 2007 The DragonFly Project.  All rights reserved.
3d217d4d9SSepherosa Ziehau.\"
4d217d4d9SSepherosa Ziehau.\" Redistribution and use in source and binary forms, with or without
5d217d4d9SSepherosa Ziehau.\" modification, are permitted provided that the following conditions
6d217d4d9SSepherosa Ziehau.\" are met:
7d217d4d9SSepherosa Ziehau.\"
8d217d4d9SSepherosa Ziehau.\" 1. Redistributions of source code must retain the above copyright
9d217d4d9SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer.
10d217d4d9SSepherosa Ziehau.\" 2. Redistributions in binary form must reproduce the above copyright
11d217d4d9SSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer in
12d217d4d9SSepherosa Ziehau.\"    the documentation and/or other materials provided with the
13d217d4d9SSepherosa Ziehau.\"    distribution.
14d217d4d9SSepherosa Ziehau.\" 3. Neither the name of The DragonFly Project nor the names of its
15d217d4d9SSepherosa Ziehau.\"    contributors may be used to endorse or promote products derived
16d217d4d9SSepherosa Ziehau.\"    from this software without specific, prior written permission.
17d217d4d9SSepherosa Ziehau.\"
18d217d4d9SSepherosa Ziehau.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19d217d4d9SSepherosa Ziehau.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20d217d4d9SSepherosa Ziehau.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21d217d4d9SSepherosa Ziehau.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
22d217d4d9SSepherosa Ziehau.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23d217d4d9SSepherosa Ziehau.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
24d217d4d9SSepherosa Ziehau.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25d217d4d9SSepherosa Ziehau.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
26d217d4d9SSepherosa Ziehau.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27d217d4d9SSepherosa Ziehau.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
28d217d4d9SSepherosa Ziehau.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29d217d4d9SSepherosa Ziehau.\" SUCH DAMAGE.
30d217d4d9SSepherosa Ziehau.\"
31*687c98c0SThomas Nikolajsen.\" $DragonFly: src/share/man/man4/et.4,v 1.5 2008/07/09 18:15:09 thomas Exp $
32d217d4d9SSepherosa Ziehau.\"
33542d5754SSepherosa Ziehau.Dd July 9, 2008
34d217d4d9SSepherosa Ziehau.Dt ET 4
35d217d4d9SSepherosa Ziehau.Os
36d217d4d9SSepherosa Ziehau.Sh NAME
37d217d4d9SSepherosa Ziehau.Nm et
38d217d4d9SSepherosa Ziehau.Nd "Agere ET1310 10/100/Gigabit Ethernet device"
39d217d4d9SSepherosa Ziehau.Sh SYNOPSIS
40d217d4d9SSepherosa Ziehau.Cd "device miibus"
41d217d4d9SSepherosa Ziehau.Cd "device et"
42d217d4d9SSepherosa Ziehau.Pp
43d217d4d9SSepherosa ZiehauAlternatively, to load the driver as a module at boot time, place the
44d217d4d9SSepherosa Ziehaufollowing line in
45d217d4d9SSepherosa Ziehau.Pa /boot/loader.conf :
46d217d4d9SSepherosa Ziehau.Bd -literal -offset indent
47d217d4d9SSepherosa Ziehauif_et_load="YES"
48d217d4d9SSepherosa Ziehau.Ed
49d217d4d9SSepherosa Ziehau.Sh DESCRIPTION
50d217d4d9SSepherosa ZiehauThe
51d217d4d9SSepherosa Ziehau.Nm
52d217d4d9SSepherosa Ziehaudriver supports the PCIe Ethernet adapters based on Agere ET1310.
53d217d4d9SSepherosa Ziehau.Pp
543effc1bfSSepherosa ZiehauSupport for Jumbo Frames is provided via the interface MTU setting.
553effc1bfSSepherosa ZiehauSelecting an MTU larger than 1500 bytes with the
563effc1bfSSepherosa Ziehau.Xr ifconfig 8
573effc1bfSSepherosa Ziehauutility configures the adapter to receive and transmit Jumbo Frames.
583effc1bfSSepherosa ZiehauThe maximum MTU setting for Jumbo Frames is 15572.
593effc1bfSSepherosa ZiehauThis value coincides with the maximum Jumbo Frames size of 15594.
603effc1bfSSepherosa Ziehau.Pp
61d217d4d9SSepherosa ZiehauThe
62d217d4d9SSepherosa Ziehau.Nm
63d217d4d9SSepherosa Ziehaudriver supports the following
64d217d4d9SSepherosa Ziehau.Ar media
65d217d4d9SSepherosa Ziehautypes:
66d217d4d9SSepherosa Ziehau.Pp
67d217d4d9SSepherosa Ziehau.Bl -tag -width 10baseT/UTP -compact
68d217d4d9SSepherosa Ziehau.It Cm autoselect
69d217d4d9SSepherosa ZiehauEnable autoselection of the media types and options
70d217d4d9SSepherosa Ziehau.Pp
71d217d4d9SSepherosa Ziehau.It Cm 10baseT/UTP
72d217d4d9SSepherosa ZiehauSet 10Mbps operation.
73d217d4d9SSepherosa ZiehauThe
74d217d4d9SSepherosa Ziehau.Ar mediaopt
75d217d4d9SSepherosa Ziehauoption can also be used to select either
76d217d4d9SSepherosa Ziehau.Ar full-duplex
77d217d4d9SSepherosa Ziehauor
78d217d4d9SSepherosa Ziehau.Ar half-duplex
79d217d4d9SSepherosa Ziehaumodes.
80d217d4d9SSepherosa Ziehau.Pp
81d217d4d9SSepherosa Ziehau.It Cm 100baseTX
82d217d4d9SSepherosa ZiehauSet 100Mbps (Fast Ethernet) operation.
83d217d4d9SSepherosa ZiehauThe
84d217d4d9SSepherosa Ziehau.Ar mediaopt
85d217d4d9SSepherosa Ziehauoption can also be used to select either
86d217d4d9SSepherosa Ziehau.Ar full-duplex
87d217d4d9SSepherosa Ziehauor
88d217d4d9SSepherosa Ziehau.Ar half-duplex
89d217d4d9SSepherosa Ziehaumodes.
90d217d4d9SSepherosa Ziehau.Pp
91d217d4d9SSepherosa Ziehau.It Cm 1000baseT
92d217d4d9SSepherosa ZiehauSet 1000Mbps (Gigabit Ethernet) operation.
93d217d4d9SSepherosa ZiehauThe
94d217d4d9SSepherosa Ziehau.Ar mediaopt
95d217d4d9SSepherosa Ziehauoption can only be set
96d217d4d9SSepherosa Ziehau.Ar full-duplex
97d217d4d9SSepherosa Ziehaumode.
98d217d4d9SSepherosa Ziehau.El
99d217d4d9SSepherosa Ziehau.Pp
100d217d4d9SSepherosa ZiehauThe
101d217d4d9SSepherosa Ziehau.Nm
102d217d4d9SSepherosa Ziehaudriver supports the following
103d217d4d9SSepherosa Ziehau.Ar media
104d217d4d9SSepherosa Ziehauoptions:
105d217d4d9SSepherosa Ziehau.Pp
106d217d4d9SSepherosa Ziehau.Bl -tag -width full-duplex -compact
107d217d4d9SSepherosa Ziehau.It Cm full-duplex
108d217d4d9SSepherosa ZiehauForce full duplex operation.
109d217d4d9SSepherosa Ziehau.Pp
110d217d4d9SSepherosa Ziehau.It Cm half-duplex
111d217d4d9SSepherosa ZiehauForce half duplex operation.
112d217d4d9SSepherosa Ziehau.El
113d217d4d9SSepherosa Ziehau.Pp
114d217d4d9SSepherosa ZiehauNote that the 1000baseT media type is only available
115d217d4d9SSepherosa Ziehauif it is supported by the adapter.
116d217d4d9SSepherosa ZiehauFor more information on configuring this device,
117d217d4d9SSepherosa Ziehausee
118d217d4d9SSepherosa Ziehau.Xr ifconfig 8 .
119d217d4d9SSepherosa Ziehau.Sh TUNABLES
120d217d4d9SSepherosa Ziehau.Bl -tag -width ".Va hw.et.rx_intr_npkts"
121d217d4d9SSepherosa Ziehau.It Va hw.et.rx_intr_npkts
122*687c98c0SThomas NikolajsenThis value controls how many packets should be received
123d217d4d9SSepherosa Ziehaubefore a receive interrupt is generated.
124542d5754SSepherosa ZiehauThe default value is 129.
125542d5754SSepherosa ZiehauIt is recommended to set this value above 38 to prevent host from being
126542d5754SSepherosa Ziehaulivelocked under a high degree of stress.
127d217d4d9SSepherosa Ziehau.It Va hw.et.rx_intr_delay
128d217d4d9SSepherosa ZiehauThis value delays the generation of receive interrupts
129542d5754SSepherosa Ziehauin units of ~4 microseconds.
130d217d4d9SSepherosa ZiehauIt is used together with
131d217d4d9SSepherosa Ziehau.Va hw.et.rx_intr_npkts
132d217d4d9SSepherosa Ziehauto achieve RX interrupt moderation.
133542d5754SSepherosa ZiehauThe default value is 25.
134d217d4d9SSepherosa Ziehau.It Va hw.et.tx_intr_nsegs
135d217d4d9SSepherosa ZiehauThis value controls how many segments (not packets) should be transmitted
136d217d4d9SSepherosa Ziehaubefore a transmit interrupt is generated.
137991261ecSSepherosa ZiehauThe default value is 256.
138991261ecSSepherosa ZiehauIt is recommended to set this value below 280 to prevent TX ring from underflow.
139d217d4d9SSepherosa Ziehau.It Va hw.et.timer
140d217d4d9SSepherosa ZiehauThis value controls how often the a timer interrupt should be generated.
141d217d4d9SSepherosa ZiehauIt is used together with
142d217d4d9SSepherosa Ziehau.Va hw.et.tx_intr_nsegs
143d217d4d9SSepherosa Ziehauto achieve TX interrupt moderation.
144d217d4d9SSepherosa ZiehauThe default value is 1000000000 (nanoseconds).
145d217d4d9SSepherosa Ziehau.El
146d217d4d9SSepherosa Ziehau.Sh SEE ALSO
147d217d4d9SSepherosa Ziehau.Xr arp 4 ,
148d217d4d9SSepherosa Ziehau.Xr ifmedia 4 ,
149d217d4d9SSepherosa Ziehau.Xr miibus 4 ,
150d217d4d9SSepherosa Ziehau.Xr netintro 4 ,
151d217d4d9SSepherosa Ziehau.Xr ng_ether 4 ,
152d217d4d9SSepherosa Ziehau.Xr vlan 4 ,
153d217d4d9SSepherosa Ziehau.Xr ifconfig 8
154d217d4d9SSepherosa Ziehau.Sh HISTORY
155d217d4d9SSepherosa ZiehauThe
156d217d4d9SSepherosa Ziehau.Nm
157d217d4d9SSepherosa Ziehaudevice driver first appeared in
158d217d4d9SSepherosa Ziehau.Dx 1.11 .
159d217d4d9SSepherosa Ziehau.Sh AUTHORS
160d217d4d9SSepherosa Ziehau.An -nosplit
161d217d4d9SSepherosa ZiehauThe
162d217d4d9SSepherosa Ziehau.Nm
163d217d4d9SSepherosa Ziehaudriver was written by
164d217d4d9SSepherosa Ziehau.An Sepherosa Ziehau
165d217d4d9SSepherosa Ziehau.Aq sepherosa@gmail.com .
166