Created attachment 148039 [details]
Adds IGB_LEGACY_TX and IXGBE_LEGACY_TX to kernel options
IGB cards still do not support ALTQ, except in "legacy" mode, since FreeBSD 7/8. To enable legacy mode, patching of the kernel source is required. There is no official documentation on how to patch source, although reading between the lines on various forums would point you in the right direction.
I created the attached patch to enable legacy mode in IGB driver through a kernel option, rather than a patch. A similar patch needs to be created for IXGBE.
Because of bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193053, IXGBE will not compile with the kernel option set, but IGB will. Still, there should be a way to enable this option for IXGBE, even if it does not currently compile.
I have tested this patch (with rebuilding kernel with option IGB_LEGACY_TX, but nothing changed. So, this patch doesn't work for me or I do something wrong.
Updated 10.1-BETA and 10.1-RC versioned bugs to 10.1-STABLE.
This should be fixed in FreeBSD 12+. Fixing this in 11 would require a direct commit, if you cannot upgrade to 12+ let me know and I can prepare a patch for direct commit. Be advised however there are no follow up releases to 11 planned, and it will go EoL in September https://www.freebsd.org/security/#sup.