xref: /freebsd/share/man/man4/nfe.4 (revision fe154e087f853fed878ab3cac3f49c1788929eda)
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.\"
17bfc788c2SDavid E. O'Brien.\" $FreeBSD$
18bfc788c2SDavid E. O'Brien.\"
19fe154e08SRemko Lodder.Dd Nov 27, 2007
20bfc788c2SDavid E. O'Brien.Dt NFE 4
21bfc788c2SDavid E. O'Brien.Os
22bfc788c2SDavid E. O'Brien.Sh NAME
23bfc788c2SDavid E. O'Brien.Nm nfe
24bfc788c2SDavid E. O'Brien.Nd "NVIDIA nForce MCP Ethernet driver"
25bfc788c2SDavid E. O'Brien.Sh SYNOPSIS
26bfc788c2SDavid E. O'BrienTo compile this driver into the kernel,
27bfc788c2SDavid E. O'Brienplace the following lines in your
28bfc788c2SDavid E. O'Brienkernel configuration file:
29bfc788c2SDavid E. O'Brien.Bd -ragged -offset indent
30bfc788c2SDavid E. O'Brien.Cd "device miibus"
31fe0e43d6SChristian Brueffer.Cd "device nfe"
32bfc788c2SDavid E. O'Brien.Ed
33bfc788c2SDavid E. O'Brien.Pp
34bfc788c2SDavid E. O'BrienAlternatively, to load the driver as a
35bfc788c2SDavid E. O'Brienmodule at boot time, place the following line in
36bfc788c2SDavid E. O'Brien.Xr loader.conf 5 :
37bfc788c2SDavid E. O'Brien.Bd -literal -offset indent
38bfc788c2SDavid E. O'Brienif_nfe_load="YES"
39bfc788c2SDavid E. O'Brien.Ed
40bfc788c2SDavid E. O'Brien.Sh DESCRIPTION
41bfc788c2SDavid E. O'BrienThe
42bfc788c2SDavid E. O'Brien.Nm
43bfc788c2SDavid E. O'Briendriver supports PCI Ethernet adapters based on the NVIDIA
44bfc788c2SDavid E. O'BriennForce Media and Communications Processors (MCP), such as
45ef481c34SChristian Bruefferthe nForce, nForce 2, nForce 3, CK804, MCP04, MCP51, MCP55,
46ef481c34SChristian BruefferMCP61, MCP65 and MCP67 Ethernet controller chips.
47ef481c34SChristian Brueffer.Pp
48ef481c34SChristian BruefferSupported features include (hardware support provided):
49ef481c34SChristian Brueffer.Pp
50ef481c34SChristian Brueffer.Bl -bullet -compact
51ef481c34SChristian Brueffer.It
52ef481c34SChristian BruefferReceive/Transmit IP/TCP/UDP checksum offload
53ef481c34SChristian Brueffer.It
54ef481c34SChristian BruefferHardware VLAN tag insertion/stripping
55ef481c34SChristian Brueffer.It
56ef481c34SChristian BruefferTCP segmentation offload (TSO)
57ef481c34SChristian Brueffer.It
58ef481c34SChristian BruefferMSI/MSI-X
59ef481c34SChristian Brueffer.It
60ef481c34SChristian BruefferJumbo Frames
61ef481c34SChristian Brueffer.El
62ef481c34SChristian Brueffer.Pp
63ef481c34SChristian BruefferSupport for Jumbo Frames is provided via the interface MTU setting.
64ef481c34SChristian BruefferSelecting an MTU larger than 1500 bytes with the
65ef481c34SChristian Brueffer.Xr ifconfig 8
66ef481c34SChristian Bruefferutility configures the adapter to receive and transmit Jumbo Frames.
67bfc788c2SDavid E. O'Brien.Pp
68bfc788c2SDavid E. O'BrienThe
69bfc788c2SDavid E. O'Brien.Nm
70d053cbd0SRuslan Ermilovdriver supports the following media types:
71ef481c34SChristian Brueffer.Bl -tag -width "10baseT/UTP"
72bfc788c2SDavid E. O'Brien.It Cm autoselect
73bfc788c2SDavid E. O'BrienEnable autoselection of the media type and options.
74ef481c34SChristian Brueffer.It Cm 10baseT/UTP
75bfc788c2SDavid E. O'BrienSet 10Mbps operation.
76bfc788c2SDavid E. O'Brien.It Cm 100baseTX
77bfc788c2SDavid E. O'BrienSet 100Mbps (Fast Ethernet) operation.
78bfc788c2SDavid E. O'Brien.It Cm 1000baseT
79bfc788c2SDavid E. O'BrienSet 1000Mbps (Gigabit Ethernet) operation (recent models only).
80bfc788c2SDavid E. O'Brien.El
81ef481c34SChristian Brueffer.Pp
82ef481c34SChristian BruefferThe
83ef481c34SChristian Brueffer.Nm
84ef481c34SChristian Bruefferdriver supports the following media options:
85ef481c34SChristian Brueffer.Bl -tag -width ".Cm 10baseT/UTP"
86ef481c34SChristian Brueffer.It Cm half-duplex
87ef481c34SChristian BruefferForce half duplex operation.
88ef481c34SChristian Brueffer.It Cm full-duplex
89ef481c34SChristian BruefferForce full duplex operation.
90ef481c34SChristian Brueffer.El
91ef481c34SChristian Brueffer.Pp
92ef481c34SChristian BruefferFor more information on configuring this device, see
93ef481c34SChristian Brueffer.Xr ifconfig 8 .
94ef481c34SChristian Brueffer.Sh HARDWARE
95ef481c34SChristian BruefferThe
96ef481c34SChristian Brueffer.Nm
97ef481c34SChristian Bruefferdriver supports the following NVIDIA MCP onboard adapters:
98ef481c34SChristian Brueffer.Pp
99ef481c34SChristian Brueffer.Bl -bullet -compact
100ef481c34SChristian Brueffer.It
101ef481c34SChristian BruefferNVIDIA nForce MCP Networking Adapter
102ef481c34SChristian Brueffer.It
103ef481c34SChristian BruefferNVIDIA nForce MCP04 Networking Adapter
104ef481c34SChristian Brueffer.It
105ef481c34SChristian BruefferNVIDIA nForce 430 MCP12 Networking Adapter
106ef481c34SChristian Brueffer.It
107ef481c34SChristian BruefferNVIDIA nForce 430 MCP13 Networking Adapter
108ef481c34SChristian Brueffer.It
109d307eef8SGabor KovesdanNVIDIA nForce MCP51 Networking Adapter
110ef481c34SChristian Brueffer.It
111ef481c34SChristian BruefferNVIDIA nForce MCP55 Networking Adapter
112ef481c34SChristian Brueffer.It
113ef481c34SChristian BruefferNVIDIA nForce MCP61 Networking Adapter
114ef481c34SChristian Brueffer.It
115ef481c34SChristian BruefferNVIDIA nForce MCP65 Networking Adapter
116ef481c34SChristian Brueffer.It
117ef481c34SChristian BruefferNVIDIA nForce MCP67 Networking Adapter
118ef481c34SChristian Brueffer.It
119ef481c34SChristian BruefferNVIDIA nForce2 MCP2 Networking Adapter
120ef481c34SChristian Brueffer.It
121ef481c34SChristian BruefferNVIDIA nForce2 400 MCP4 Networking Adapter
122ef481c34SChristian Brueffer.It
123ef481c34SChristian BruefferNVIDIA nForce2 400 MCP5 Networking Adapter
124ef481c34SChristian Brueffer.It
125ef481c34SChristian BruefferNVIDIA nForce3 MCP3 Networking Adapter
126ef481c34SChristian Brueffer.It
127ef481c34SChristian BruefferNVIDIA nForce3 250 MCP6 Networking Adapter
128ef481c34SChristian Brueffer.It
129ef481c34SChristian BruefferNVIDIA nForce3 MCP7 Networking Adapter
130ef481c34SChristian Brueffer.It
131ef481c34SChristian BruefferNVIDIA nForce4 CK804 MCP8 Networking Adapter
132ef481c34SChristian Brueffer.It
133ef481c34SChristian BruefferNVIDIA nForce4 CK804 MCP9 Networking Adapter
134ef481c34SChristian Brueffer.El
135ef481c34SChristian Brueffer.Sh LOADER TUNABLES
136ef481c34SChristian BruefferTunables can be set at the
137ef481c34SChristian Brueffer.Xr loader 8
138ef481c34SChristian Bruefferprompt before booting the kernel or stored in
139ef481c34SChristian Brueffer.Xr loader.conf 5 .
140ef481c34SChristian Brueffer.Bl -tag -width indent
141ef481c34SChristian Brueffer.It Va hw.nfe.msi_disable
142ef481c34SChristian BruefferWhether or not MSI support is enabled in the driver.
143ef481c34SChristian BruefferThe default value is 0.
1449624afb7SChristian Brueffer.It Va hw.nfe.msix_disable
145ef481c34SChristian BruefferWhether or not MSI-X support is enabled in the driver.
146ef481c34SChristian BruefferThe default value is 0.
147ef481c34SChristian Brueffer.El
148ef481c34SChristian Brueffer.Sh SYSCTL VARIABLES
149ef481c34SChristian BruefferThe following
150ef481c34SChristian Brueffer.Xr sysctl 8
151ef481c34SChristian Brueffervariables can be used to modify or monitor
152ef481c34SChristian Brueffer.Nm
153ef481c34SChristian Bruefferbehavior.
154ef481c34SChristian Brueffer.Bl -tag -width indent
155ef481c34SChristian Brueffer.It Va dev.nfe.%d.process_limit
156ef481c34SChristian BruefferMaximum number of Rx events to be processed in the event loop
157ef481c34SChristian Bruefferbefore rescheduling a taskqueue.
158ef481c34SChristian BruefferThe accepted range is 50 to 255, the default value is 192.
159ef481c34SChristian BruefferThe interface does not need to be brought down and up again
160ef481c34SChristian Bruefferbefore a change takes effect.
161ef481c34SChristian Brueffer.El
162bfc788c2SDavid E. O'Brien.Sh SEE ALSO
16390815738SPyun YongHyeon.Xr altq 4 ,
164bfc788c2SDavid E. O'Brien.Xr arp 4 ,
165bfc788c2SDavid E. O'Brien.Xr intro 4 ,
166bfc788c2SDavid E. O'Brien.Xr miibus 4 ,
167bfc788c2SDavid E. O'Brien.Xr netintro 4 ,
168bfc788c2SDavid E. O'Brien.Xr pci 4 ,
1692c77eccbSChristian Brueffer.Xr polling 4 ,
170ef481c34SChristian Brueffer.Xr sysctl 8 ,
171bfc788c2SDavid E. O'Brien.Xr ifconfig 8
172bfc788c2SDavid E. O'Brien.Sh HISTORY
173bfc788c2SDavid E. O'BrienThe
174bfc788c2SDavid E. O'Brien.Nm
175bfc788c2SDavid E. O'Briendevice driver first appeared in
176bfc788c2SDavid E. O'Brien.Ox 3.9 ,
177bfc788c2SDavid E. O'Brienand then in
178fe154e08SRemko Lodder.Fx 7.0 .
179bfc788c2SDavid E. O'Brien.Sh AUTHORS
180bfc788c2SDavid E. O'Brien.An -nosplit
181bfc788c2SDavid E. O'BrienThe
182bfc788c2SDavid E. O'Brien.Nm
183bfc788c2SDavid E. O'Briendriver was written by
184bfc788c2SDavid E. O'Brien.An Jonathan Gray
185bfc788c2SDavid E. O'Brien.Aq jsg@openbsd.org
186bfc788c2SDavid E. O'Brienand
187bfc788c2SDavid E. O'Brien.An Damien Bergamini
188bfc788c2SDavid E. O'Brien.Aq damien@openbsd.org .
189bfc788c2SDavid E. O'BrienThe
190bfc788c2SDavid E. O'Brien.Nm
191bfc788c2SDavid E. O'Briendriver was ported to
192bfc788c2SDavid E. O'Brien.Fx
193bfc788c2SDavid E. O'Brienby
194bfc788c2SDavid E. O'Brien.An Shigeaki Tagashira
195bfc788c2SDavid E. O'Brien.Aq shigeaki@se.hiroshima-u.ac.jp .
196