diff options
author | bryanv <bryanv@FreeBSD.org> | 2014-04-24 04:43:50 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2014-04-24 04:43:50 +0000 |
commit | 7f430de4a19f2abf2e18cc65a2a7ecee505d61a3 (patch) | |
tree | 675eb42cb4df10e1b28c284f5058ecace7a5858f /share/man | |
parent | 3422a8357a6a689d26b481f0bc6d8cefa3815650 (diff) | |
download | FreeBSD-src-7f430de4a19f2abf2e18cc65a2a7ecee505d61a3.zip FreeBSD-src-7f430de4a19f2abf2e18cc65a2a7ecee505d61a3.tar.gz |
MFC r263259
Add Tx/Rx multiqueue support to vmx(4)
As a prerequisite for multiple queues, the guest must have MSIX enabled.
Unfortunately, to work around device passthrough bugs, FreeBSD disables
MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist
tunable; this tunable must be disabled for multiple queues.
Also included is various minor changes from the projects/vmxnet branch.
MFC r264865
Update the date that was missed in r263259
Diffstat (limited to 'share/man')
-rw-r--r-- | share/man/man4/vmx.4 | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/share/man/man4/vmx.4 b/share/man/man4/vmx.4 index c1dbe8e..0598aa8 100644 --- a/share/man/man4/vmx.4 +++ b/share/man/man4/vmx.4 @@ -17,7 +17,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 4, 2013 +.Dd March 17, 2014 .Dt VMX 4 .Os .Sh NAME @@ -81,12 +81,35 @@ VMware Fusion 2.0 and newer .Pp For more information on configuring this device, see .Xr ifconfig 8 . +.Sh MULTIPLE QUEUES +The +.Nm +driver supports multiple transmit and receive queues. +Multiple queues are only supported by certain VMware products, such as ESXi. +The number of queues allocated depends on the presence of MSI-X, +the number of configured CPUs, +and the tunables listed below. +.Fx +does not enable MSI-X support on VMware by default. +The +.Va hw.pci.honor_msi_blacklist +tunable must be disabled to enable MSI-X support. .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.txnqueue +.It Va hw.vmx. Ns Ar X Ns Va .txnqueue +Maximum number of transmit queues allocated by default by the driver. +The default value is 8. +The maximum supported by the VMXNET3 virtual NIC is 8. +.It Va hw.vmx.rxnqueue +.It Va hw.vmx. Ns Ar X Ns Va .rxnqueue +Maximum number of receive queues allocated by default by the driver. +The default value is 8. +The maximum supported by the VMXNET3 virtual NIC is 16. .It Va hw.vmx.txndesc .It Va hw.vmx. Ns Ar X Ns Va .txndesc .Pp |