pfctl: igb2: driver does not support altq

André S. Almeida andre at andre.adm.br
Mon Aug 22 12:51:28 UTC 2016


Hello,

I have 10.3 RELEASE and I am having problem with driver of igb device that
does not support ALTQ.

I already compiled the kernel with IGB_LEGACY_TX, but when I try to use
ALTQ on igb interface, I get the message below.

# pfctl -f fw_rules.conf
pfctl: igb2: driver does not support altq

As you can see below, when I compile the kernel, the driver is compiled
correctly with IGB_LEGACY_TX.

cc -O2 -pipe  -DSMP -DIGB_LEGACY_TX -fno-strict-aliasing -Werror -D_KERNEL
-DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/igb/../../dev/e1000 -I. -I@
-I@/contrib/altq -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-error-tautological-compare
-Wno-error-empty-body  -Wno-error-parentheses-equality
-Wno-error-unused-function    -c
/usr/src/sys/modules/igb/../../dev/e1000/e1000_i210.c -o e1000_i210.o

Is there anything that I can do to solve this?


More information about the freebsd-pf mailing list