[Bug 208409] [PATCH] igb and ALTQ

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 30 23:14:21 UTC 2016


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

            Bug ID: 208409
           Summary: [PATCH] igb and ALTQ
           Product: Base System
           Version: 10.3-BETA2
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: freebsd at mcwest.org
          Keywords: patch

In 10.3-RELEASE the man page for altq(4) indicates igb(4) is on the list of
supported devices, however by default it doesn't work.  Attempting to apply
altq to an igb interface generates the following error:

 pfctl: igb0: driver does not support altq

This unexpected behavior can be fixed with the following three-line patch:

--- sys/dev/e1000/if_igb.h_DIST 2016-03-24 19:09:30.000000000 -0600
+++ sys/dev/e1000/if_igb.h      2016-03-29 22:27:53.271352000 -0600
@@ -35,6 +35,10 @@
 #ifndef _IF_IGB_H_
 #define _IF_IGB_H_

+#ifdef ALTQ
+#define IGB_LEGACY_TX
+#endif
+
 #include <sys/param.h>
 #include <sys/systm.h>
 #ifndef IGB_LEGACY_TX

Please consider adopting this simple workaround, as this problem has persisted
since FreeBSD 9.1

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


More information about the freebsd-bugs mailing list