| VGE(4) | Device Drivers Manual | VGE(4) |
vge — VIA
Networking Technologies VT6122 PCI Gigabit Ethernet adapter
driver
vge* at pci? dev ? function ?
Configuration of PHYs is also necessary. See mii(4).
The vge driver provides support for
various NICs and embedded Ethernet interfaces based on the VIA Networking
Technologies VT6122 Gigabit Ethernet controller chips.
The VT6122 is a 33/66Mhz 64-bit PCI device which combines a tri-speed MAC with an integrated 10/100/1000 copper PHY. (Some older cards use an external PHY.) The MAC supports TCP/IP hardware checksums (IPv4 only), TCP large send, VLAN tag insertion and stripping, as well as VLAN filtering, a 64-entry CAM filter and a 64-entry VLAN filter, 64-bit multicast hash filter, 4 separate transmit DMA queues, flow control and jumbo frames up to 16K in size. The VT6122 has a 16K receive FIFO and 48K transmit FIFO.
The vge driver takes advantage of the
VT6122's checksum offload and VLAN tagging features, as well as the jumbo
frame and CAM filter support. The CAM filter is used for multicast address
filtering to provide 64 perfect multicast address filter support. If it is
necessary for the interface to join more than 64 multicast groups, the
driver will switch over to using the hash filter.
The jumbo frame support can be enabled by setting the interface MTU to any value larger than the default of 1500 bytes, up to a maximum of 9000 bytes. The receive and transmit checksum offload support can be toggled on and off using the ifconfig(8) utility.
The vge driver supports the following
media types:
autoselect10baseT/UTPmediaopt option can also be used to select either
full-duplex or half-duplex
modes.100baseTXmediaopt option can also be used to select either
full-duplex or half-duplex
modes.1000baseTXmediaopt option can also be used to select either
full-duplex or half-duplex
modes.The vge driver supports the following
media options:
full-duplexhalf-duplexThe vge driver also supports one special
link option for 1000baseTX cards:
link0vge driver configures the ports as slaves by
default. Setting the link0 flag with
ifconfig(8) will set a
port as a master instead.For more information on configuring this device, see ifconfig(8).
The vge driver supports VIA Networking
VT3119 and VT6122 based Gigabit Ethernet adapters including:
arp(4), ciphy(4), ipgphy(4), mii(4), netintro(4), ukphy(4), vlan(4), ifconfig(8)
The vge device driver first appeared in
FreeBSD 5.3 and then in NetBSD
3.0.
The vge driver was written by
Bill Paul
<wpaul@windriver.com>.
The NetBSD port was done by Jaromir
Dolecek ⟨jdolecek@NetBSD.org⟩.
VLAN packet filtering is done in software at the moment, though using hardware VLAN tagging.
| March 5, 2005 | NetBSD 11.0 |