diff options
author | bryanv <bryanv@FreeBSD.org> | 2013-08-30 05:53:00 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2013-08-30 05:53:00 +0000 |
commit | 4b0fdddd629f96e1e496db03e429ab1a58c9af60 (patch) | |
tree | 96b07f6567c0cd788eca2dc83444c8a044687ddc /share/man/man4/vmx.4 | |
parent | 52fb8d39b96999553e323b71edca7c86d9cb64bd (diff) | |
download | FreeBSD-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/man/man4/vmx.4')
-rw-r--r-- | share/man/man4/vmx.4 | 21 |
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 |