On 2010-08-16, Steve Johnson <[email protected]> wrote: > Hi, > > I'm really sorry to resend about this, but I have tried to do this in > many different ways and can't figure out anything more. I'm about to do > a change and add physical network card to remove VLANs from this FW > altogether, but since we would much rather have VLANs functioning, and > that by the looks of it it should be, I thought I'd ask just one last > time in case someone else sees this and might have a hint.
Newsgroups: gmane.os.openbsd.misc From: Stuart Henderson <[email protected]> Subject: Re: No VLAN Tag seen by switch on CARP interface on VLAN interface References: <[email protected]> <[email protected]> <[email protected]> Date: Tue, 10 Aug 2010 10:35:55 +0100 User-Agent: slrn/0.9.9p1 (OpenBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[email protected]> On 2010-08-09, Steve Johnson <[email protected]> wrote: > Sorry about forgetting dmesg, thanks for the info about inline/pastebin. > Since this was very long information, I really wasn't sure. Here are all > the details inline: Thanks, you will need to apply this patch (from r1.242 of /sys/dev/pci/if_em.c), and rebuild a kernel. Alternatively move to -current where it's fixed. Index: if_em.c =================================================================== RCS file: /cvs/src/sys/dev/pci/if_em.c,v retrieving revision 1.241 retrieving revision 1.242 diff -u -p -r1.241 -r1.242 --- if_em.c 26 Jul 2010 19:21:24 -0000 1.241 +++ if_em.c 3 Aug 2010 16:21:52 -0000 1.242 @@ -1816,7 +1816,8 @@ em_setup_interface(struct em_softc *sc) ifp->if_capabilities = IFCAP_VLAN_MTU; #if NVLAN > 0 - ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; + if (sc->hw.mac_type != em_82575) + ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING; #endif #ifdef EM_CSUM_OFFLOAD

