Adding Compilation option for VTNET Driver
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Apr 2025 09:02:14 UTC
Hello, i hope this is the right mailing list. I wanted to add an compilation Option, and small change to the VTNET (VirtIO Networking) Driver, and wanted to know if this is fine to submit. The Problem is, that i need an ALTQ capable kernel, and that the VTNET Interfaces are multiqueue capable. This isn't possible, as the source for the VTNET Driver contains this check: """ #ifdef ALTQ #define VTNET_LEGACY_TX #endif """ Which causes it to not be Multiqueue capable, and instead being ALTQ capable. I would like to add an option, called "VTNET_NO_ALTQ" or "VTNET_FORCE_MULTIQUEUE", and modify the check above to be: """ #if defined ALTQ && ! defined VTNET_NO_ALTQ #define VTNET_LEGACY_TX #endif """ So that it is possible, to have a Kernel with ALTQ, but that the VTNET Driver is not ALTQ capable, and instead Multiqueue capable. Thanks.