Project

General

Profile

Actions

Feature #16166

closed

Option to deactivate ALTQ for VirtIO ``vtnet`` interfaces

Added by Björn Jakobsen 10 months ago. Updated 6 days ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Hardware / Drivers
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.03
Release Notes:
Default

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

Has duplicate Feature #14802: Re-enable multiqueue support for virtio NICDuplicate

Actions
Actions #1

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.

Actions #2

Updated by Jim Pingle 8 months ago

  • Plus Target Version changed from 25.07 to 25.11
Actions #3

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?

Actions #4

Updated by Jim Pingle 6 months ago

  • Has duplicate Feature #14802: Re-enable multiqueue support for virtio NIC added
Actions #5

Updated by Jim Pingle 4 months ago

  • Plus Target Version changed from 25.11 to 26.03
Actions #6

Updated by Björn Jakobsen about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #7

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
Actions #8

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.

Actions #9

Updated by Jim Pingle 8 days ago

  • Status changed from In Progress to Feedback
Actions #10

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.

Actions #11

Updated by Jim Pingle 7 days ago

  • Status changed from In Progress to Feedback
Actions #12

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.

Actions #13

Updated by Jim Pingle 6 days ago

  • Status changed from Feedback to Resolved

Works fully as expected on the latest snapshot.

Actions

Also available in: Atom PDF