Feature #16166
closedOption to deactivate ALTQ for VirtIO ``vtnet`` interfaces
100%
Description
Under System/Advanced/Networking there is an option to deactivate ALTQ for Microsoft Hyper-V hn vNICs. It would be good to have this as well for VTNET (VirtIO Networking) vNICs, to allow the use of Multiqueue.
This used to be impossible, as ALTQ support was a Compiletime option, that deactivated Multiqueue support. I created a pull request which was merged into FreeBSD yesterday, which now allows deactivating ALTQ, using the loader tunable hw.vtnet.altq_disable, and instead allowing Multiqueue in the VTNET driver.
Related issues
Updated by Jim Pingle 10 months ago
- Subject changed from Deactivating ALTQ for VTNET using the Webinterface to Option to deactivate ALTQ for VTNET interfaces
- Status changed from New to Pull Request Review
- Target version set to 2.9.0
- Plus Target Version set to 25.07
PR: https://github.com/pfsense/pfsense/pull/4733
That PR depends on an upstream FreeBSD source change which isn't in our tree yet, so it has to wait until after the next upstream src sync.
Updated by Jim Pingle 8 months ago
- Plus Target Version changed from 25.07 to 25.11
Updated by Nazar Mokrynskyi 6 months ago
There is already an older issue https://redmine.pfsense.org/issues/14802, which I believe this change will resolve as well.
Probably worth merging or closing one of them as duplicate?
Updated by Jim Pingle 6 months ago
- Has duplicate Feature #14802: Re-enable multiqueue support for virtio NIC added
Updated by Jim Pingle 4 months ago
- Plus Target Version changed from 25.11 to 26.03
Updated by Björn Jakobsen about 1 month ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset d1c2fe84a734c33e61b550d4742a2de6729bb236.
Updated by Jim Pingle 18 days ago
- Subject changed from Option to deactivate ALTQ for VTNET interfaces to Option to deactivate ALTQ for VirtIO ``vtnet`` interfaces
Updated by Jim Pingle 8 days ago
- Status changed from Feedback to In Progress
- Assignee set to Jim Pingle
This isn't quite working, it's leaving duplicate entries in loader.conf and somehow ending up always being 0 no matter the setting.
Fixing the cleanup seems to correct it.
Updated by Jim Pingle 8 days ago
- Status changed from In Progress to Feedback
Applied in changeset 0c28827f8a653c2f09bfb8e9d247a9d3d863e652.
Updated by Jim Pingle 7 days ago
- Status changed from Feedback to In Progress
One more little bug here. The page isn't configuring the loader variables on save if there are changes, so the change isn't reflected on the next boot, but the one after.
Updated by Jim Pingle 7 days ago
- Status changed from In Progress to Feedback
Applied in changeset 7b706ef172905434d6a520616119cab218e607e4.
Updated by Jim Pingle 7 days ago
Seems to work as expected when set properly now. If the VM NIC is configured with multiple queues, and this option is unchecked, then the OS sees multiple queues for the NIC. Single queue otherwise no matter the VM config when checked.
Updated by Jim Pingle 6 days ago
- Status changed from Feedback to Resolved
Works fully as expected on the latest snapshot.