On Thu, Apr 14, 2011 at 04:37:31PM +0000, Stuart Henderson wrote: > > 01:20:38.556705 802.1Q vid 0 pri 0 802.1Q vid 123 pri 0 arp who-has > > 10.3.3.2 tell 10.3.3.1 > > your config is OK, something is broken there. I guess this will make > it function but it's not a correct fix. >
well, it works fine on the 82598 (heavily tested and used in production here) but seems to be broken on the 82599. it is either a hardware bug on the 82599 or related to the fact that it uses slighlty different advanced descriptors. this should be a more accurate workaround for now (until we're able to fix it on the 82599): #if NVLAN > 0 if (hw->mac.type == ixgbe_mac_82598EB) ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; #endif > Index: if_ix.c > =================================================================== > RCS file: /cvs/src/sys/dev/pci/if_ix.c,v > retrieving revision 1.50 > diff -u -p -r1.50 if_ix.c > --- if_ix.c 13 Apr 2011 00:14:18 -0000 1.50 > +++ if_ix.c 14 Apr 2011 16:36:58 -0000 > @@ -1453,7 +1453,7 @@ ixgbe_setup_interface(struct ix_softc *s > ifp->if_capabilities = IFCAP_VLAN_MTU; > > #if NVLAN > 0 > - ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; > +// ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; > #endif > > #ifdef IX_CSUM_OFFLOAD