summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbryanv <bryanv@FreeBSD.org>2013-08-30 05:53:00 +0000
committerbryanv <bryanv@FreeBSD.org>2013-08-30 05:53:00 +0000
commit4b0fdddd629f96e1e496db03e429ab1a58c9af60 (patch)
tree96b07f6567c0cd788eca2dc83444c8a044687ddc /share
parent52fb8d39b96999553e323b71edca7c86d9cb64bd (diff)
downloadFreeBSD-src-4b0fdddd629f96e1e496db03e429ab1a58c9af60.zip
FreeBSD-src-4b0fdddd629f96e1e496db03e429ab1a58c9af60.tar.gz
Few more minor if_vmx tweaks
- Allow the Rx/Tx queue sizes to be configured by tunables - Bail out earlier if the Tx queue unlikely has enough free descriptors to hold the frame - Cleanup some of the offloading capabilities handling
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/vmx.421
1 files changed, 20 insertions, 1 deletions
diff --git a/share/man/man4/vmx.4 b/share/man/man4/vmx.4
index 0e7b7f8..b33f1ed 100644
--- a/share/man/man4/vmx.4
+++ b/share/man/man4/vmx.4
@@ -81,6 +81,25 @@ VMware Fusion 2.0 and newer
.Pp
For more information on configuring this device, see
.Xr ifconfig 8 .
+.Sh LOADER TUNABLES
+Tunables can be set at the
+.Xr loader 8
+prompt before booting the kernel or stored in
+.Xr loader.conf 5 .
+.Bl -tag -width indent
+.It Va hw.vmx.txndesc
+.It Va hw.vmx. Ns Ar X Ns Va .txndesc
+.Pp
+Number of transmit descriptors allocated by the driver.
+The default value is 512.
+The value must be a multiple of 32, and the maximum is 4096.
+.It Va hw.vmx.rxndesc
+.It Va hw.vmx. Ns Ar X Ns Va .rxndesc
+.Pp
+Number of receive descriptors per ring allocated by the driver.
+The default value is 256.
+The value must be a multiple of 32, and the maximum is 2048.
+There are two rings so the actual usage is doubled.
.Sh EXAMPLES
The following entry must be added to the VMware configuration file
to provide the
@@ -104,7 +123,7 @@ The
.Nm
driver was ported from
.Ox
-by
+and significantly rewritten by
.An Bryan Venteicher Aq bryanv@freebsd.org .
The
.Ox
OpenPOWER on IntegriCloud