1.\" $NetBSD: jme.4,v 1.5 2008/10/17 20:02:39 bouyer Exp $ 2.\" 3.\" Copyright (c) 2008 Manuel Bouyer 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgements: 16.\" This product includes software developed by Manuel Bouyer. 17.\" 4. The name of the author may not be used to endorse or promote products 18.\" derived from this software without specific prior written permission 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 21.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 22.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28.\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30.\" 31.Dd October 17, 2008 32.Dt JME 4 33.Os 34.Sh NAME 35.Nm jme 36.Nd JMicron Technologies JMC250 Gigabit Ethernet and JMC260 Fast Ethernet controller driver 37.Sh SYNOPSIS 38.Cd "jme* at pci? dev ? function ?" 39.Pp 40Configuration of PHYs is necessary. 41See 42.Xr mii 4 . 43.Sh DESCRIPTION 44The 45.Nm jme 46device driver supports network adapters based on the JMicron 47Technologies JMC250 Gigabit Ethernet and JMC260 Fast Ethernet chips. 48The following features are supported: 49.Bd -literal -offset indent 50IPv4 transmit/receive IP/TCP/UDP checksum offload 51IPv6 transmit TCP/UDP checksum offload 52IPv4 and IPv6 TCP segmentation offload 53VLAN tag insertion/removal 54Interrupt coalescing 5510/100/1000Mbps operation in full-duplex mode 5610/100Mbps operation in half-duplex mode 57Jumbo frames (up to 9022 bytes) 58.Ed 59.Pp 60Due to hardware limitation checksums and TCP segmentation offload can't 61be enabled if the configured MTU is larger than 4000 bytes. 62.Pp 63Interrupt coalescing can be controlled on a per-adapter basis through 64the following sysctls: 65.Bl -tag -width ".Cm hw.jme.jmeXxX.int_rxtos" 66.It Cm hw.jme.jme\*[Lt]x\*[Gt].int_rxtos 67jme receive interrupt moderation timer, in microseconds (defaults to 100) 68.It Cm hw.jme.jme\*[Lt]x\*[Gt].int_rxct 69jme receive interrupt moderation packet counter (defaults to 128) 70.It Cm hw.jme.jme\*[Lt]x\*[Gt].int_txto 71jme transmit interrupt moderation timer, in microseconds (defaults to 100) 72.It Cm hw.jme.jme\*[Lt]x\*[Gt].int_txct 73jme transmit interrupt moderation packet counter (defaults to 128) 74.El 75.Sh SEE ALSO 76.Xr ifmedia 4 , 77.Xr mii 4 , 78.Xr netintro 4 , 79.Xr pci 4 , 80.Xr ifconfig 8 81.Sh HISTORY 82The 83.Nm 84device driver first appeared in 85.Nx 5.0 . 86.Sh BUGS 87Hardware bugs prevent support of IPv6 receive TCP/UDP checksum offload 88in the JMC250 rev A2, and is disabled in the driver. 89This should be revisited when a newer hardware revision is available. 90