[Bug 237166] vmx(4) override_ntxds/nrxds tunable has no effect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 9 17:18:44 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237166

            Bug ID: 237166
           Summary: vmx(4) override_ntxds/nrxds tunable has no effect
           Product: Base System
           Version: 12.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: ncrogers at gmail.com

Since the MFC of r343291 to 12-STABLE in r344027 (Convert vmx(4) to being an
iflib driver.), I am no longer able to increase the number of tx/rx descriptors
via the usual iflib sysctls.

For example the following loader.conf:
dev.vmx.0.iflib.override_ntxqs=2
dev.vmx.0.iflib.override_nrxqs=2
dev.vmx.0.iflib.override_ntxds=4096
dev.vmx.0.iflib.override_nrxds=2048

Yields bootup messages:

Apr  9 10:03:22 rxg kernel: vmx0: <VMware VMXNET3 Ethernet Adapter> port
0x4000-0x400f mem
0xfea03000-0xfea03fff,0xfea02000-0xfea02fff,0xfea00000-0xfea01fff at device 0.0
on pci3
Apr  9 10:03:22 rxg kernel: vmx0: Using 512 tx descriptors and 256 rx
descriptors
Apr  9 10:03:22 rxg kernel: vmx0: Using 2 rx queues 2 tx queues
Apr  9 10:03:22 rxg kernel: vmx0: Using MSI-X interrupts with 3 vectors
Apr  9 10:03:22 rxg kernel: vmx0: Ethernet address: 00:0c:29:2b:73:76
Apr  9 10:03:22 rxg kernel: vmx0: netmap queues/slots: TX 2/512, RX 2/512
Apr  9 10:03:22 rxg kernel: vmx0: link state changed to UP

Notice that ntxqs/nrxqs is decreased from the default of 8 (or lower of number
of CPU cores), however ntxd/nrxd remains the default.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list