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.\" 31542d5754SSepherosa Ziehau.Dd July 9, 2008 32d217d4d9SSepherosa Ziehau.Dt ET 4 33d217d4d9SSepherosa Ziehau.Os 34d217d4d9SSepherosa Ziehau.Sh NAME 35d217d4d9SSepherosa Ziehau.Nm et 36d217d4d9SSepherosa Ziehau.Nd "Agere ET1310 10/100/Gigabit Ethernet device" 37d217d4d9SSepherosa Ziehau.Sh SYNOPSIS 38d217d4d9SSepherosa Ziehau.Cd "device miibus" 39d217d4d9SSepherosa Ziehau.Cd "device et" 40d217d4d9SSepherosa Ziehau.Pp 41d217d4d9SSepherosa ZiehauAlternatively, to load the driver as a module at boot time, place the 42d217d4d9SSepherosa Ziehaufollowing line in 43d217d4d9SSepherosa Ziehau.Pa /boot/loader.conf : 44d217d4d9SSepherosa Ziehau.Bd -literal -offset indent 45d217d4d9SSepherosa Ziehauif_et_load="YES" 46d217d4d9SSepherosa Ziehau.Ed 47d217d4d9SSepherosa Ziehau.Sh DESCRIPTION 48d217d4d9SSepherosa ZiehauThe 49d217d4d9SSepherosa Ziehau.Nm 50d217d4d9SSepherosa Ziehaudriver supports the PCIe Ethernet adapters based on Agere ET1310. 51d217d4d9SSepherosa Ziehau.Pp 523effc1bfSSepherosa ZiehauSupport for Jumbo Frames is provided via the interface MTU setting. 533effc1bfSSepherosa ZiehauSelecting an MTU larger than 1500 bytes with the 543effc1bfSSepherosa Ziehau.Xr ifconfig 8 553effc1bfSSepherosa Ziehauutility configures the adapter to receive and transmit Jumbo Frames. 563effc1bfSSepherosa ZiehauThe maximum MTU setting for Jumbo Frames is 15572. 573effc1bfSSepherosa ZiehauThis value coincides with the maximum Jumbo Frames size of 15594. 583effc1bfSSepherosa Ziehau.Pp 59d217d4d9SSepherosa ZiehauThe 60d217d4d9SSepherosa Ziehau.Nm 61d217d4d9SSepherosa Ziehaudriver supports the following 62d217d4d9SSepherosa Ziehau.Ar media 63d217d4d9SSepherosa Ziehautypes: 64d217d4d9SSepherosa Ziehau.Pp 65d217d4d9SSepherosa Ziehau.Bl -tag -width 10baseT/UTP -compact 66d217d4d9SSepherosa Ziehau.It Cm autoselect 67d217d4d9SSepherosa ZiehauEnable autoselection of the media types and options 68d217d4d9SSepherosa Ziehau.Pp 69d217d4d9SSepherosa Ziehau.It Cm 10baseT/UTP 70d217d4d9SSepherosa ZiehauSet 10Mbps operation. 71d217d4d9SSepherosa ZiehauThe 72d217d4d9SSepherosa Ziehau.Ar mediaopt 73d217d4d9SSepherosa Ziehauoption can also be used to select either 74d217d4d9SSepherosa Ziehau.Ar full-duplex 75d217d4d9SSepherosa Ziehauor 76d217d4d9SSepherosa Ziehau.Ar half-duplex 77d217d4d9SSepherosa Ziehaumodes. 78d217d4d9SSepherosa Ziehau.Pp 79d217d4d9SSepherosa Ziehau.It Cm 100baseTX 80d217d4d9SSepherosa ZiehauSet 100Mbps (Fast Ethernet) operation. 81d217d4d9SSepherosa ZiehauThe 82d217d4d9SSepherosa Ziehau.Ar mediaopt 83d217d4d9SSepherosa Ziehauoption can also be used to select either 84d217d4d9SSepherosa Ziehau.Ar full-duplex 85d217d4d9SSepherosa Ziehauor 86d217d4d9SSepherosa Ziehau.Ar half-duplex 87d217d4d9SSepherosa Ziehaumodes. 88d217d4d9SSepherosa Ziehau.Pp 89d217d4d9SSepherosa Ziehau.It Cm 1000baseT 90d217d4d9SSepherosa ZiehauSet 1000Mbps (Gigabit Ethernet) operation. 91d217d4d9SSepherosa ZiehauThe 92d217d4d9SSepherosa Ziehau.Ar mediaopt 93d217d4d9SSepherosa Ziehauoption can only be set 94d217d4d9SSepherosa Ziehau.Ar full-duplex 95d217d4d9SSepherosa Ziehaumode. 96d217d4d9SSepherosa Ziehau.El 97d217d4d9SSepherosa Ziehau.Pp 98d217d4d9SSepherosa ZiehauThe 99d217d4d9SSepherosa Ziehau.Nm 100d217d4d9SSepherosa Ziehaudriver supports the following 101d217d4d9SSepherosa Ziehau.Ar media 102d217d4d9SSepherosa Ziehauoptions: 103d217d4d9SSepherosa Ziehau.Pp 104d217d4d9SSepherosa Ziehau.Bl -tag -width full-duplex -compact 105d217d4d9SSepherosa Ziehau.It Cm full-duplex 106d217d4d9SSepherosa ZiehauForce full duplex operation. 107d217d4d9SSepherosa Ziehau.Pp 108d217d4d9SSepherosa Ziehau.It Cm half-duplex 109d217d4d9SSepherosa ZiehauForce half duplex operation. 110d217d4d9SSepherosa Ziehau.El 111d217d4d9SSepherosa Ziehau.Pp 112d217d4d9SSepherosa ZiehauNote that the 1000baseT media type is only available 113d217d4d9SSepherosa Ziehauif it is supported by the adapter. 114d217d4d9SSepherosa ZiehauFor more information on configuring this device, 115d217d4d9SSepherosa Ziehausee 116d217d4d9SSepherosa Ziehau.Xr ifconfig 8 . 117d217d4d9SSepherosa Ziehau.Sh TUNABLES 118d217d4d9SSepherosa Ziehau.Bl -tag -width ".Va hw.et.rx_intr_npkts" 119d217d4d9SSepherosa Ziehau.It Va hw.et.rx_intr_npkts 120687c98c0SThomas NikolajsenThis value controls how many packets should be received 121d217d4d9SSepherosa Ziehaubefore a receive interrupt is generated. 122542d5754SSepherosa ZiehauThe default value is 129. 123542d5754SSepherosa ZiehauIt is recommended to set this value above 38 to prevent host from being 124542d5754SSepherosa Ziehaulivelocked under a high degree of stress. 125d217d4d9SSepherosa Ziehau.It Va hw.et.rx_intr_delay 126d217d4d9SSepherosa ZiehauThis value delays the generation of receive interrupts 127542d5754SSepherosa Ziehauin units of ~4 microseconds. 128d217d4d9SSepherosa ZiehauIt is used together with 129d217d4d9SSepherosa Ziehau.Va hw.et.rx_intr_npkts 130d217d4d9SSepherosa Ziehauto achieve RX interrupt moderation. 131542d5754SSepherosa ZiehauThe default value is 25. 132d217d4d9SSepherosa Ziehau.It Va hw.et.tx_intr_nsegs 133d217d4d9SSepherosa ZiehauThis value controls how many segments (not packets) should be transmitted 134d217d4d9SSepherosa Ziehaubefore a transmit interrupt is generated. 135991261ecSSepherosa ZiehauThe default value is 256. 136991261ecSSepherosa ZiehauIt is recommended to set this value below 280 to prevent TX ring from underflow. 137d217d4d9SSepherosa Ziehau.It Va hw.et.timer 138d217d4d9SSepherosa ZiehauThis value controls how often the a timer interrupt should be generated. 139d217d4d9SSepherosa ZiehauIt is used together with 140d217d4d9SSepherosa Ziehau.Va hw.et.tx_intr_nsegs 141d217d4d9SSepherosa Ziehauto achieve TX interrupt moderation. 142d217d4d9SSepherosa ZiehauThe default value is 1000000000 (nanoseconds). 143d217d4d9SSepherosa Ziehau.El 144d217d4d9SSepherosa Ziehau.Sh SEE ALSO 145d217d4d9SSepherosa Ziehau.Xr arp 4 , 146d217d4d9SSepherosa Ziehau.Xr ifmedia 4 , 147d217d4d9SSepherosa Ziehau.Xr miibus 4 , 148d217d4d9SSepherosa Ziehau.Xr netintro 4 , 149d217d4d9SSepherosa Ziehau.Xr ng_ether 4 , 150d217d4d9SSepherosa Ziehau.Xr vlan 4 , 151d217d4d9SSepherosa Ziehau.Xr ifconfig 8 152d217d4d9SSepherosa Ziehau.Sh HISTORY 153d217d4d9SSepherosa ZiehauThe 154d217d4d9SSepherosa Ziehau.Nm 155d217d4d9SSepherosa Ziehaudevice driver first appeared in 156d217d4d9SSepherosa Ziehau.Dx 1.11 . 157d217d4d9SSepherosa Ziehau.Sh AUTHORS 158d217d4d9SSepherosa Ziehau.An -nosplit 159d217d4d9SSepherosa ZiehauThe 160d217d4d9SSepherosa Ziehau.Nm 161d217d4d9SSepherosa Ziehaudriver was written by 162*b2a6f486SFranco Fichtner.An Sepherosa Ziehau Aq Mt sepherosa@gmail.com . 163