1bfc788c2SDavid E. O'Brien.\" $OpenBSD: nfe.4,v 1.7 2006/02/28 08:13:47 jsg Exp $ 2bfc788c2SDavid E. O'Brien.\" 3bfc788c2SDavid E. O'Brien.\" Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> 4bfc788c2SDavid E. O'Brien.\" 5bfc788c2SDavid E. O'Brien.\" Permission to use, copy, modify, and distribute this software for any 6bfc788c2SDavid E. O'Brien.\" purpose with or without fee is hereby granted, provided that the above 7bfc788c2SDavid E. O'Brien.\" copyright notice and this permission notice appear in all copies. 8bfc788c2SDavid E. O'Brien.\" 9bfc788c2SDavid E. O'Brien.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10bfc788c2SDavid E. O'Brien.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11bfc788c2SDavid E. O'Brien.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12bfc788c2SDavid E. O'Brien.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13bfc788c2SDavid E. O'Brien.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14bfc788c2SDavid E. O'Brien.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15bfc788c2SDavid E. O'Brien.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16bfc788c2SDavid E. O'Brien.\" 17b144f7cbSDoug Barton.Dd January 15, 2011 18bfc788c2SDavid E. O'Brien.Dt NFE 4 19bfc788c2SDavid E. O'Brien.Os 20bfc788c2SDavid E. O'Brien.Sh NAME 21bfc788c2SDavid E. O'Brien.Nm nfe 22bfc788c2SDavid E. O'Brien.Nd "NVIDIA nForce MCP Ethernet driver" 23bfc788c2SDavid E. O'Brien.Sh SYNOPSIS 24bfc788c2SDavid E. O'BrienTo compile this driver into the kernel, 25bfc788c2SDavid E. O'Brienplace the following lines in your 26bfc788c2SDavid E. O'Brienkernel configuration file: 27bfc788c2SDavid E. O'Brien.Bd -ragged -offset indent 28bfc788c2SDavid E. O'Brien.Cd "device miibus" 29fe0e43d6SChristian Brueffer.Cd "device nfe" 30bfc788c2SDavid E. O'Brien.Ed 31bfc788c2SDavid E. O'Brien.Pp 32bfc788c2SDavid E. O'BrienAlternatively, to load the driver as a 33bfc788c2SDavid E. O'Brienmodule at boot time, place the following line in 34bfc788c2SDavid E. O'Brien.Xr loader.conf 5 : 35bfc788c2SDavid E. O'Brien.Bd -literal -offset indent 36bfc788c2SDavid E. O'Brienif_nfe_load="YES" 37bfc788c2SDavid E. O'Brien.Ed 38bfc788c2SDavid E. O'Brien.Sh DESCRIPTION 39bfc788c2SDavid E. O'BrienThe 40bfc788c2SDavid E. O'Brien.Nm 41bfc788c2SDavid E. O'Briendriver supports PCI Ethernet adapters based on the NVIDIA 42bfc788c2SDavid E. O'BriennForce Media and Communications Processors (MCP), such as 43ef481c34SChristian Bruefferthe nForce, nForce 2, nForce 3, CK804, MCP04, MCP51, MCP55, 44d5bb1143SPyun YongHyeonMCP61, MCP65, MCP67, MCP73, MCP77 and MCP79 Ethernet 45d5bb1143SPyun YongHyeoncontroller chips. 46ef481c34SChristian Brueffer.Pp 47ef481c34SChristian BruefferSupported features include (hardware support provided): 48ef481c34SChristian Brueffer.Pp 49ef481c34SChristian Brueffer.Bl -bullet -compact 50ef481c34SChristian Brueffer.It 51ef481c34SChristian BruefferReceive/Transmit IP/TCP/UDP checksum offload 52ef481c34SChristian Brueffer.It 53ef481c34SChristian BruefferHardware VLAN tag insertion/stripping 54ef481c34SChristian Brueffer.It 55ef481c34SChristian BruefferTCP segmentation offload (TSO) 56ef481c34SChristian Brueffer.It 57ef481c34SChristian BruefferMSI/MSI-X 58ef481c34SChristian Brueffer.It 59ef481c34SChristian BruefferJumbo Frames 60ef481c34SChristian Brueffer.El 61ef481c34SChristian Brueffer.Pp 62ef481c34SChristian BruefferSupport for Jumbo Frames is provided via the interface MTU setting. 63ef481c34SChristian BruefferSelecting an MTU larger than 1500 bytes with the 64ef481c34SChristian Brueffer.Xr ifconfig 8 65ef481c34SChristian Bruefferutility configures the adapter to receive and transmit Jumbo Frames. 66bfc788c2SDavid E. O'Brien.Pp 67bfc788c2SDavid E. O'BrienThe 68bfc788c2SDavid E. O'Brien.Nm 69d053cbd0SRuslan Ermilovdriver supports the following media types: 70ef481c34SChristian Brueffer.Bl -tag -width "10baseT/UTP" 71bfc788c2SDavid E. O'Brien.It Cm autoselect 72bfc788c2SDavid E. O'BrienEnable autoselection of the media type and options. 73ef481c34SChristian Brueffer.It Cm 10baseT/UTP 74bfc788c2SDavid E. O'BrienSet 10Mbps operation. 75bfc788c2SDavid E. O'Brien.It Cm 100baseTX 76bfc788c2SDavid E. O'BrienSet 100Mbps (Fast Ethernet) operation. 77bfc788c2SDavid E. O'Brien.It Cm 1000baseT 78bfc788c2SDavid E. O'BrienSet 1000Mbps (Gigabit Ethernet) operation (recent models only). 79bfc788c2SDavid E. O'Brien.El 80ef481c34SChristian Brueffer.Pp 81ef481c34SChristian BruefferThe 82ef481c34SChristian Brueffer.Nm 83ef481c34SChristian Bruefferdriver supports the following media options: 84ef481c34SChristian Brueffer.Bl -tag -width ".Cm 10baseT/UTP" 85ef481c34SChristian Brueffer.It Cm half-duplex 86ef481c34SChristian BruefferForce half duplex operation. 87ef481c34SChristian Brueffer.It Cm full-duplex 88ef481c34SChristian BruefferForce full duplex operation. 89ef481c34SChristian Brueffer.El 90ef481c34SChristian Brueffer.Pp 91ef481c34SChristian BruefferFor more information on configuring this device, see 92ef481c34SChristian Brueffer.Xr ifconfig 8 . 93ef481c34SChristian Brueffer.Sh HARDWARE 94ef481c34SChristian BruefferThe 95ef481c34SChristian Brueffer.Nm 96ef481c34SChristian Bruefferdriver supports the following NVIDIA MCP onboard adapters: 97ef481c34SChristian Brueffer.Pp 98ef481c34SChristian Brueffer.Bl -bullet -compact 99ef481c34SChristian Brueffer.It 100ef481c34SChristian BruefferNVIDIA nForce MCP Networking Adapter 101ef481c34SChristian Brueffer.It 102ef481c34SChristian BruefferNVIDIA nForce MCP04 Networking Adapter 103ef481c34SChristian Brueffer.It 104ef481c34SChristian BruefferNVIDIA nForce 430 MCP12 Networking Adapter 105ef481c34SChristian Brueffer.It 106ef481c34SChristian BruefferNVIDIA nForce 430 MCP13 Networking Adapter 107ef481c34SChristian Brueffer.It 108d307eef8SGabor KovesdanNVIDIA nForce MCP51 Networking Adapter 109ef481c34SChristian Brueffer.It 110ef481c34SChristian BruefferNVIDIA nForce MCP55 Networking Adapter 111ef481c34SChristian Brueffer.It 112ef481c34SChristian BruefferNVIDIA nForce MCP61 Networking Adapter 113ef481c34SChristian Brueffer.It 114ef481c34SChristian BruefferNVIDIA nForce MCP65 Networking Adapter 115ef481c34SChristian Brueffer.It 116ef481c34SChristian BruefferNVIDIA nForce MCP67 Networking Adapter 117ef481c34SChristian Brueffer.It 11895d86ad9SPyun YongHyeonNVIDIA nForce MCP73 Networking Adapter 11995d86ad9SPyun YongHyeon.It 120d5bb1143SPyun YongHyeonNVIDIA nForce MCP77 Networking Adapter 121d5bb1143SPyun YongHyeon.It 122d5bb1143SPyun YongHyeonNVIDIA nForce MCP79 Networking Adapter 123d5bb1143SPyun YongHyeon.It 124ef481c34SChristian BruefferNVIDIA nForce2 MCP2 Networking Adapter 125ef481c34SChristian Brueffer.It 126ef481c34SChristian BruefferNVIDIA nForce2 400 MCP4 Networking Adapter 127ef481c34SChristian Brueffer.It 128ef481c34SChristian BruefferNVIDIA nForce2 400 MCP5 Networking Adapter 129ef481c34SChristian Brueffer.It 130ef481c34SChristian BruefferNVIDIA nForce3 MCP3 Networking Adapter 131ef481c34SChristian Brueffer.It 132ef481c34SChristian BruefferNVIDIA nForce3 250 MCP6 Networking Adapter 133ef481c34SChristian Brueffer.It 134ef481c34SChristian BruefferNVIDIA nForce3 MCP7 Networking Adapter 135ef481c34SChristian Brueffer.It 136ef481c34SChristian BruefferNVIDIA nForce4 CK804 MCP8 Networking Adapter 137ef481c34SChristian Brueffer.It 138ef481c34SChristian BruefferNVIDIA nForce4 CK804 MCP9 Networking Adapter 139ef481c34SChristian Brueffer.El 140ef481c34SChristian Brueffer.Sh LOADER TUNABLES 141ef481c34SChristian BruefferTunables can be set at the 142ef481c34SChristian Brueffer.Xr loader 8 143ef481c34SChristian Bruefferprompt before booting the kernel or stored in 144ef481c34SChristian Brueffer.Xr loader.conf 5 . 145ef481c34SChristian Brueffer.Bl -tag -width indent 146ef481c34SChristian Brueffer.It Va hw.nfe.msi_disable 147ef481c34SChristian BruefferWhether or not MSI support is enabled in the driver. 148ef481c34SChristian BruefferThe default value is 0. 1499624afb7SChristian Brueffer.It Va hw.nfe.msix_disable 150ef481c34SChristian BruefferWhether or not MSI-X support is enabled in the driver. 151ef481c34SChristian BruefferThe default value is 0. 152ef481c34SChristian Brueffer.El 153ef481c34SChristian Brueffer.Sh SYSCTL VARIABLES 154ef481c34SChristian BruefferThe following 155ef481c34SChristian Brueffer.Xr sysctl 8 156ef481c34SChristian Brueffervariables can be used to modify or monitor 157ef481c34SChristian Brueffer.Nm 158ef481c34SChristian Bruefferbehavior. 159ef481c34SChristian Brueffer.Bl -tag -width indent 160ef481c34SChristian Brueffer.It Va dev.nfe.%d.process_limit 161ef481c34SChristian BruefferMaximum number of Rx events to be processed in the event loop 162ef481c34SChristian Bruefferbefore rescheduling a taskqueue. 163ef481c34SChristian BruefferThe accepted range is 50 to 255, the default value is 192. 164ef481c34SChristian BruefferThe interface does not need to be brought down and up again 165ef481c34SChristian Bruefferbefore a change takes effect. 166ef481c34SChristian Brueffer.El 167bfc788c2SDavid E. O'Brien.Sh SEE ALSO 16890815738SPyun YongHyeon.Xr altq 4 , 169bfc788c2SDavid E. O'Brien.Xr arp 4 , 170bfc788c2SDavid E. O'Brien.Xr intro 4 , 171bfc788c2SDavid E. O'Brien.Xr miibus 4 , 172bfc788c2SDavid E. O'Brien.Xr netintro 4 , 173bfc788c2SDavid E. O'Brien.Xr pci 4 , 1742c77eccbSChristian Brueffer.Xr polling 4 , 175e0fb7b7bSMarius Strobl.Xr rgephy 4 , 176*0b3504fdSChristian Brueffer.Xr ifconfig 8 , 177*0b3504fdSChristian Brueffer.Xr sysctl 8 178bfc788c2SDavid E. O'Brien.Sh HISTORY 179bfc788c2SDavid E. O'BrienThe 180bfc788c2SDavid E. O'Brien.Nm 181bfc788c2SDavid E. O'Briendevice driver first appeared in 182bfc788c2SDavid E. O'Brien.Ox 3.9 , 183bfc788c2SDavid E. O'Brienand then in 184fe154e08SRemko Lodder.Fx 7.0 . 185bfc788c2SDavid E. O'Brien.Sh AUTHORS 186bfc788c2SDavid E. O'Brien.An -nosplit 187bfc788c2SDavid E. O'BrienThe 188bfc788c2SDavid E. O'Brien.Nm 189bfc788c2SDavid E. O'Briendriver was written by 1906c899950SBaptiste Daroussin.An Jonathan Gray Aq Mt jsg@openbsd.org 191bfc788c2SDavid E. O'Brienand 1926c899950SBaptiste Daroussin.An Damien Bergamini Aq Mt damien@openbsd.org . 193bfc788c2SDavid E. O'BrienThe 194bfc788c2SDavid E. O'Brien.Nm 195bfc788c2SDavid E. O'Briendriver was ported to 196bfc788c2SDavid E. O'Brien.Fx 197bfc788c2SDavid E. O'Brienby 1986c899950SBaptiste Daroussin.An Shigeaki Tagashira Aq Mt shigeaki@se.hiroshima-u.ac.jp . 199