Hi, On Fri, May 31, 2013 at 02:23:01PM -0400, Masao Uebayashi wrote: > This is a newly written driver for VMware VMXNET3 ethernet controller. >
I created a manpage that I will commit shortly after the driver is in. reyk Index: vmx.4 =================================================================== RCS file: vmx.4 diff -N vmx.4 --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ vmx.4 31 May 2013 19:55:49 -0000 @@ -0,0 +1,111 @@ +.\" $OpenBSD$ +.\" +.\" Copyright (c) 2006,2013 Reyk Floeter <[email protected]> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate$ +.Dt VMX 4 +.Os +.Sh NAME +.Nm vmx +.Nd VMware VMXNET3 Virtual Interface Controller device +.Sh SYNOPSIS +.Cd vmx* at pci? +.Sh DESCRIPTION +The +.Nm +driver provides support for the VMXNET3 virtual NIC available in virtual +machines by VMware. +It appears as a simple Ethernet device but is actually a virtual network +interface to the underlying host operating system. +.Pp +This driver supports the +.Ic VMXNET3 +driver protocol, as an alternative to the emulated +.Xr pcn 4 , +.Xr em 4 +and the earlier VMXNET +.Xr vic 4 +interfaces also available in the VMware environment. +The +.Nm vmx +driver is optimized for the virtual machine, it can provide advanced +capabilities depending on the underlying host operating system and +the physical network interface controller of the host. +In comparison to the earlier VMXNET versions, +as supported by the +.Xr vic 4 +driver, +VMXNET3 supports additional features like multiqueue support, IPv6 +checksum offloading, MSI/MSI-X support and hardware VLAN tagging in +VMware's VLAN Guest Tagging (VGT) mode. +.Pp +The +.Nm +driver supports VMXNET3 VMware virtual NICs provided by the virtual +machine hardware version 7 or newer, as provided by the following +products: +.Pp +.Bl -bullet -compact -offset indent +.It +VMware ESX/ESXi 4.0 and newer +.It +VMware Server 2.0 and newer +.It +VMware Workstation 6.5 and newer +.It +VMware Fusion 2.0 and newer +.El +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width autoselect +.It autoselect +Enable autoselection of the media type and options. +The driver always uses the fastest available speed and the media +options provided by the underlying host of the virtual machine. +.It 10GbaseT mediaopt full-duplex +Set 10Gbps operation. +.It 1000baseT mediaopt full-duplex +Set 1000Mbps operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh EXAMPLES +The following entry must be added to the VMware configuration file +to provide the +.Nm +device: +.Bd -literal -offset indent +ethernet0.virtualDev = "vmxnet3" +.Ed +.Sh SEE ALSO +.Xr arp 4 , +.Xr em 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr pcn 4 , +.Xr vic 4 , +.Xr hostname.if 5 , +.Xr ifconfig 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Tsubai Masanari . Index: vic.4 =================================================================== RCS file: /cvs/src/share/man/man4/vic.4,v retrieving revision 1.21 diff -u -p -u -p -r1.21 vic.4 --- vic.4 28 Jul 2008 19:52:21 -0000 1.21 +++ vic.4 31 May 2013 19:55:50 -0000 @@ -88,6 +88,7 @@ ethernet0.virtualDev = "vmxnet" .Xr netintro 4 , .Xr pci 4 , .Xr pcn 4 , +.Xr vmx 4 , .Xr hostname.if 5 , .Xr ifconfig 8 .Sh AUTHORS Index: Makefile =================================================================== RCS file: /cvs/src/share/man/man4/Makefile,v retrieving revision 1.546 diff -u -p -u -p -r1.546 Makefile --- Makefile 19 May 2013 20:32:47 -0000 1.546 +++ Makefile 31 May 2013 19:55:50 -0000 @@ -67,7 +67,7 @@ MAN= aac.4 ac97.4 acphy.4 \ uyap.4 \ vether.4 vga.4 vgafb.4 vge.4 \ viapm.4 viasio.4 vic.4 video.4 vio.4 vioblk.4 viomb.4 virtio.4 vlan.4 \ - vmt.4 vnd.4 vr.4 \ + vmt.4 vmx.4 vnd.4 vr.4 \ vscsi.4 vte.4 \ watchdog.4 wb.4 wbenv.4 wbng.4 wbsd.4 wbsio.4 wd.4 wdc.4 wdsc.4 we.4 \ wi.4 wpi.4 wscons.4 wsdisplay.4 wskbd.4 wsmouse.4 wsmux.4 \
