i226 igc driver based NiC should be altq capable, yet isn't
-
Hello,
I seem to be having an issue with setting up network shaping with ALTQ on an Intel I226-V interface.
The interface as reported by pciconf:
igc0@pci0:1:0:0: class=0x020000 rev=0x04 hdr=0x00 vendor=0x8086 device=0x125c subvendor=0x8086 subdevice=0x0000 vendor = 'Intel Corporation' device = 'Ethernet Controller I226-V' class = network subclass = ethernet
It seems to be using the igc drivers. Checking out pfsense/src/etc/inc/interfaces.inc file in source code, It should be ALTQ capable:
$capable = array("ae", "age", "alc", "ale", "an", "aue", "axe", "bce", "bfe", "bge", "bnxt", "bridge", "bxe", "cas", "cpsw", "dc", "de", "ed", "em", "ep", "epair", "et", "fxp", "gem", "hme", "hn", "igb", "igc", "ix", "ixv", "jme", "l2tp", "le", "lem", "msk", "mxge", "my", "ndis", "nfe", "ng", "nge", "npe", "nve", "ql", "ovpnc", "ovpns", "ppp", "pppoe", "pptp", "re", "rl", "sf", "sge", "sis", "sk", "ste", "stge", "ti", "tun", "txp", "udav", "ural", "vge", "vlan", "vmx", "vr", "vte", "vtnet", "xl");
However, when I try to setup traffic shaping in the wizard, with 1 WAN interface, I get the following error:
The specified number of connections is greater than the number of ALTQ-capable assigned interfaces!
Anyone have any ideas on what the issue might be?
-
Okay, nevermind, after debugging pfSense I learned that in fact I226-V does support ALTQ.
Turns out I just had my LAN interface accidentally set to ipv6 DHCP mode, which created a gateway for it, hence the wizard detected all my interfaces as WAN, and it requires the inputted amount to not be higher than the amount of WAN or LAN interfaces, whichever higher, so 1 was higher than 0.
The error message is a bit misleading as a result though.
Seems to be working after disabling ipv6 on LAN. I really need to understand ipv6 better before I get into that anyway.