1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
.\" $OpenBSD: vic.4,v 1.8 2006/11/02 07:20:36 fkr Exp $
.\"
.\" Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
.\"
.\" 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 December 20, 2005
.Dt VIC 4
.Os
.Sh NAME
.Nm vic
.Nd VMware vmxnet Virtual Interface Controller device
.Sh SYNOPSIS
.Cd vic* at pci?
.Sh DESCRIPTION
The
.Nm
driver provides support for the 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 vmxnet
driver protocol, as an alternative to the emulated
.Xr pcn 4
interface also available in the VMware environment.
The
.Nm vic
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.
.Pp
Unlike the capabilities of physical network interface controllers,
these capabilities may change after reboot.
The list of available capabilities is printed by the kernel on
startup, which could be:
.Pp
.Bl -tag -width VLANSW -offset indent -compact
.It SG
Transmit scatter-gather lists are supported (required).
.It CSUM4
IPv4 TCP/UDP checksum offload is supported (ignored).
.It CSUM
IPv4/IPv6/TCP/UDP checksum offload is supported (ignored).
.It HDMA
Can map high DMA memory.
.It TOE
TCP offload engine available (ignored).
.It TSO
TCP segmentation offload supported (ignored).
.It TSOHW
Software-based TSO supported (ignored).
.It VPROM
Virtual PROM available, used for the MAC address.
.It VLANTx
VLAN tagging available (ignored).
.It VLANRx
VLAN untagging available (ignored).
.It VLANSW
Software-based VLAN tagging on the host (ignored).
.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.
.El
.Pp
For more information on configuring this device, see
.Xr ifconfig 8 .
.Sh HARDWARE
The
.Nm
driver supports VMware Virtual NICs provided by the following
known products:
.Pp
.Bl -bullet -compact -offset indent
.It
VMware ESX Server
.It
VMware GSX Server 2.5 and newer
.It
VMware Server
.El
.Pp
For VMware to add a virtual NIC to a virtual machine, add these
lines to the vmx configuration file:
.Bd -literal -offset indent
ethernet0.present = "TRUE"
ethernet0.virtualDev = "vmxnet"
.Ed
.Sh SEE ALSO
.Xr arp 4 ,
.Xr ifmedia 4 ,
.Xr intro 4 ,
.Xr netintro 4 ,
.Xr pci 4 ,
.Xr pcn 4 ,
.Xr hostname.if 5 ,
.Xr ifconfig 8
.Sh AUTHORS
.An -nosplit
The
.Nm
driver was written by
.An Reyk Floeter Aq reyk@openbsd.org .
|