diff options
Diffstat (limited to 'static/freebsd/man4/vte.4 3.html')
| -rw-r--r-- | static/freebsd/man4/vte.4 3.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/static/freebsd/man4/vte.4 3.html b/static/freebsd/man4/vte.4 3.html new file mode 100644 index 00000000..822d3535 --- /dev/null +++ b/static/freebsd/man4/vte.4 3.html @@ -0,0 +1,127 @@ +<table class="head"> + <tr> + <td class="head-ltitle">VTE(4)</td> + <td class="head-vol">Device Drivers Manual</td> + <td class="head-rtitle">VTE(4)</td> + </tr> +</table> +<div class="manual-text"> +<section class="Sh"> +<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> +<p class="Pp"><code class="Nm">vte</code> — <span class="Nd">Vortex86 RDC + R6040 Fast Ethernet driver</span></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> +<p class="Pp">To compile this driver into the kernel, place the following lines + in your kernel configuration file:</p> +<div class="Bd Pp Bd-indent"><code class="Cd">device miibus</code> +<br/> +<code class="Cd">device vte</code></div> +<p class="Pp">Alternatively, to load the driver as a module at boot time, place + the following line in <a class="Xr">loader.conf(5)</a>:</p> +<div class="Bd Pp Bd-indent Li"> +<pre>if_vte_load="YES"</pre> +</div> +</section> +<section class="Sh"> +<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> +<p class="Pp">The <code class="Nm">vte</code> device driver provides support for + RDC R6040 Fast Ethernet controller which is commonly found on Vortex86 + System On a Chip (SoC).</p> +<p class="Pp">The RDC R6040 has integrated 10/100 PHY for 10/100Mbps support in + full or half-duplex. The controller supports interrupt moderation mechanism, + a 64-bit multicast hash filter, VLAN over-size frame and four station + addresses. The <code class="Nm">vte</code> device driver uses three station + addresses out of four as perfect multicast filter.</p> +<p class="Pp">The <code class="Nm">vte</code> driver supports the following + media types:</p> +<dl class="Bl-tag"> + <dt id="autoselect"><a class="permalink" href="#autoselect"><code class="Cm">autoselect</code></a></dt> + <dd>Enable autoselection of the media type and options. The user can manually + override the autoselected mode by adding media options to + <a class="Xr">rc.conf(5)</a>.</dd> + <dt id="10baseT/UTP"><a class="permalink" href="#10baseT/UTP"><code class="Cm">10baseT/UTP</code></a></dt> + <dd>Set 10Mbps operation.</dd> + <dt id="100baseTX"><a class="permalink" href="#100baseTX"><code class="Cm">100baseTX</code></a></dt> + <dd>Set 100Mbps (Fast Ethernet) operation.</dd> +</dl> +<p class="Pp">The <code class="Nm">vte</code> driver supports the following + media options:</p> +<dl class="Bl-tag"> + <dt id="full-duplex"><a class="permalink" href="#full-duplex"><code class="Cm">full-duplex</code></a></dt> + <dd>Force full duplex operation.</dd> + <dt id="half-duplex"><a class="permalink" href="#half-duplex"><code class="Cm">half-duplex</code></a></dt> + <dd>Force half duplex operation.</dd> +</dl> +<p class="Pp">For more information on configuring this device, see + <a class="Xr">ifconfig(8)</a>.</p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HARDWARE"><a class="permalink" href="#HARDWARE">HARDWARE</a></h1> +<p class="Pp">The <code class="Nm">vte</code> device driver provides support for + the following Ethernet controllers:</p> +<p class="Pp"></p> +<ul class="Bl-bullet Bl-compact"> + <li>DM&P Vortex86 RDC R6040 Fast Ethernet controller</li> +</ul> +</section> +<section class="Sh"> +<h1 class="Sh" id="LOADER_TUNABLES"><a class="permalink" href="#LOADER_TUNABLES">LOADER + TUNABLES</a></h1> +<p class="Pp">Tunables can be set at the <a class="Xr">loader(8)</a> prompt + before booting the kernel or stored in <a class="Xr">loader.conf(5)</a>.</p> +<dl class="Bl-tag"> + <dt id="hw.vte.tx_deep_copy"><var class="Va">hw.vte.tx_deep_copy</var></dt> + <dd>The RDC R6040 controller has no auto-padding support for short frames and + the controller's DMA engine does not have capability to handle multiple + buffers for a TX frame such that driver has to create a single contiguous + TX buffer. This hardware limitation leads to poor TX performance since + most of CPU cycles are wasted on both de-fragmenting mbuf chains and + padding. This tunable enables deep copy operation for TX frames such that + driver will spend less CPU cycles in de-fragmentation with the cost of + extra TX buffer memory. The default value is 1 to use deep copy.</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SYSCTL_VARIABLES"><a class="permalink" href="#SYSCTL_VARIABLES">SYSCTL + VARIABLES</a></h1> +<p class="Pp">The following variables are available as both + <a class="Xr">sysctl(8)</a> variables and <a class="Xr">loader(8)</a> + tunables:</p> +<dl class="Bl-tag"> + <dt id="dev.vte._d.rx_mod"><var class="Va">dev.vte.%d.rx_mod</var></dt> + <dd>Maximum number of packets to fire RX completion interrupt. The accepted + range is 0 to 15, the default is 15.</dd> + <dt id="dev.vte._d.tx_mod"><var class="Va">dev.vte.%d.tx_mod</var></dt> + <dd>Maximum number of packets to fire TX completion interrupt. The accepted + range is 0 to 15, the default is 15.</dd> + <dt id="dev.vte._d.stats"><var class="Va">dev.vte.%d.stats</var></dt> + <dd>Show hardware MAC statistics maintained in driver.</dd> +</dl> +</section> +<section class="Sh"> +<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE + ALSO</a></h1> +<p class="Pp"><a class="Xr">altq(4)</a>, <a class="Xr">arp(4)</a>, + <a class="Xr">miibus(4)</a>, <a class="Xr">netintro(4)</a>, + <a class="Xr">ng_ether(4)</a>, <a class="Xr">vlan(4)</a>, + <a class="Xr">ifconfig(8)</a></p> +<p class="Pp"><cite class="Rs"><span class="RsT">DM&P Electronics Inc. + Vortex86</span>, + <a class="RsU" href="http://www.dmp.com.tw">http://www.dmp.com.tw</a>.</cite></p> +</section> +<section class="Sh"> +<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> +<p class="Pp">The <code class="Nm">vte</code> driver was written by + <span class="An">Pyun YongHyeon</span> + <<a class="Mt" href="mailto:yongari@FreeBSD.org">yongari@FreeBSD.org</a>>. + It first appeared in <span class="Ux">FreeBSD 8.3</span>.</p> +</section> +</div> +<table class="foot"> + <tr> + <td class="foot-date">December 30, 2010</td> + <td class="foot-os">FreeBSD 15.0</td> + </tr> +</table> |
