From owner-freebsd-net@FreeBSD.ORG Tue Dec 7 18:11:17 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85562106564A; Tue, 7 Dec 2010 18:11:17 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by mx1.freebsd.org (Postfix) with ESMTP id 0E01D8FC13; Tue, 7 Dec 2010 18:11:16 +0000 (UTC) Received: by gxk28 with SMTP id 28so212303gxk.17 for ; Tue, 07 Dec 2010 10:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=a91Nw0V0LJDHwioz2z+zlQPzUeDNA43C48z7RRPqvhk=; b=Nh3tePyWPvqyBZQmimimtgd1R9h5I+f75NTQY1GH9PtiH1dO4T+uer/CI4ZKX0Zcxp Taot9wLmlYqlSZOiKCU+h9wB2LqcvqJK4MX5R5QnJMCUWLTAwSg0jBgvOWLVBf2+Vph7 wLvWbzGHrVdetCs4EzykuGJN+M5/J+ISjn2Dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=llttHS8xeOvpL4zKc7PKqoofUz2pWPJRxv3AzZM8679g7+SZWGV0JYGpNqZU2MIJ6x Rh9/t0KXgAwvmPwAiQOHrf6b7jmBTvC9CRNtlDGVwee6n14uqHJBTypMziHE0kg0otXY mLExJttaJRi82bt5jJD/BMI7kx9M38rYS8/FI= MIME-Version: 1.0 Received: by 10.100.7.3 with SMTP id 3mr4159851ang.6.1291745475872; Tue, 07 Dec 2010 10:11:15 -0800 (PST) Received: by 10.147.124.9 with HTTP; Tue, 7 Dec 2010 10:11:15 -0800 (PST) In-Reply-To: <1466741156.20101207195714@bitdefender.com> References: <07255796.20101207031807@bitdefender.com> <201012070933.13710.jhb@freebsd.org> <1466741156.20101207195714@bitdefender.com> Date: Tue, 7 Dec 2010 10:11:15 -0800 Message-ID: From: Jack Vogel To: Mihai-Catalin Salgau Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, John Baldwin Subject: Re: vlan limits on e1000? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 18:11:17 -0000 HMMMMMM, well this has a certain amount of deja vu to it :) There was a problem like this long ago when someone was using vlans AND the lagg device, the issue was that the em driver never received the vlan attach events because lagg ate them, so to speak :) Still I think this was only an issue with filtering. Just for giggles, turn on BOTH tagging and filtering and see what happens. Jack On Tue, Dec 7, 2010 at 9:57 AM, Mihai-Catalin Salgau < csalgau-br@bitdefender.com> wrote: > Hello Jack, > > Tuesday, December 7, 2010, 7:46:32 PM, you wrote: > > > Same thing I was thinking, there is nothing else that should limit vlans > in > > any way. > > > Jack > > > > On Tue, Dec 7, 2010 at 6:33 AM, John Baldwin wrote: > > >> On Monday, December 06, 2010 8:18:07 pm Mihai-Catalin Salgau wrote: > >> > Hello Freebsd-net, > >> > > >> > I have two dual port NICs, one Broadcom(bce0,bce1) and one > >> Intel(em0,em1), on FreeBSD 8-stable > >> > (about two weeks old) with a DHCP server running. > >> > I've been successfully using a large number of vlans over bce1,em0 > and > >> em1 with iSCSI, > >> > but wanted to switch to AoE(ata over ethernet). I've set vlandevs by > >> round-robin, and got > >> > vlan1 on bce0, vlan2 on em0, vlan3 on em1, vlan4 on bce0....vlan12 > on > >> em1. I've binded > >> > net/vblade instances to each interface, but the problem I'm facing > now > >> is that while > >> > vlans 1-10 are working properly, vlans 11 and 12 won't see any > traffic > >> unless the interface is > >> > in promiscuous mode. I noticed that while trying to attach tcpdump > and > >> saw the thing instantly work. > >> > I've had no problems with iSCSI over the same setup, and dhcp > packets > >> are getting trough properly. > >> > I've moved those last two vlans to bce0 and they work ok, but I'm a > bit > >> locked on why this is happening. > >> > Are there any known limitations on vlans on e1000? > >> > >> Are you using the 'vlanhwfilter' feature? > >> > >> -- > >> John Baldwin > > No, I'm not using it. > em0&em1 have RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4 enabled > The Broadcom has > RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO > I've also tried disabling vlanhwtag and enabling vlanhwfilter, but it > doesn't help. > Still, the moment I switch the interface to promiscuous mode, it works. > I've also tried setting 8 vlans on bce1 to see if there's a limit per > driver for some reason, but it works ok. > >