When I run FreeBSD as a KVM guest and assign it a vf from my 82576 card, the guest igb vf driver seems to strip vlan tags on incoming packets. If no packets are vlan tagged, they pass fine. Outgoing packets maintain vlan tags, but incoming packets have their vlan tags stripped. More information: https://forum.pfsense.org/index.php?topic=126742 https://forum.pfsense.org/index.php?topic=126742
The ixgbe had this bug as well, and it was apparently fixed https://lists.freebsd.org/pipermail/freebsd-bugs/2016-May/067788.html https://lists.freebsd.org/pipermail/freebsd-bugs/2016-May/067788.html but the fix was never applied to the igb driver.
It seems the only solution would be to use a separate vf for each vlan I want the guest to see, and have the host handle vlan management, but this limits me to the number of vlans I can have and how many guests can use the NIC.
Is there any chance of having the ixgbe patch ported to igb?