From owner-freebsd-net@FreeBSD.ORG Tue Jun 28 20:48:21 2011 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 8C318106564A for ; Tue, 28 Jun 2011 20:48:21 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id 47F938FC08 for ; Tue, 28 Jun 2011 20:48:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id C38B98BC01F; Tue, 28 Jun 2011 16:34:01 -0400 (EDT) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B1XZxIVKQ8m0; Tue, 28 Jun 2011 16:34:00 -0400 (EDT) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 9CC1D8BC003; Tue, 28 Jun 2011 16:34:00 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer In-Reply-To: Date: Tue, 28 Jun 2011 16:31:57 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <6E5D6CF9-E197-44E8-835A-ABD9F5969DBE@averesystems.com> References: <8F86FFA7-E2D7-40D6-A1B5-DFCFA47EBD75@averesystems.com> To: Igor Anishchuk , Jack Vogel X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org Subject: Re: ixgbe> vlan addition and removal brings the interfaces down and up 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, 28 Jun 2011 20:48:21 -0000 Hello Igor, Sorry for the delay. I'm a little hesitant to share our ixgbe patch to = change this behavior because Jack has checked in changes to igb that = make me think that our change is not correct. Or, at least, that he's = probably working on fixing ixgbe the right way. Jack, are you planning = to copy the reorganization of igb_setup_vlan_hw_support() over to = ixgbe_setup_vlan_hw_support? -Andrew On Jun 28, 2011, at 4:02 PM, Igor Anishchuk wrote: > Hi Andrew, >=20 > could you please share the patch as I'm dying with this problem. >=20 > What makes it worse is that on a busy router the DOWN/UP of the > interfaces causes the ixgbe card to lose all network access until the > box is rebooted. I can reproduce it easily on a variety of hosts from > both HP and Dell. Therefore a patch that would not cause the card to > reset would help a lot. >=20 > -- Igor >=20 > On Thu, May 19, 2011 at 8:58 PM, Andrew Boyer = wrote: >> I have a patch that will fix this. Please give me a little while to = clean it up, and I will send it out on the list. >>=20 >> -Andrew >>=20 >> On May 19, 2011, at 2:58 AM, Igor Anishchuk wrote: >>=20 >>> Hi All, >>>=20 >>> I've been using Intel E10G42AFDA 10Gbit/s AF DA Dual Port adapters >>> with direct attach cables and there is one thing keeps bothering me. >>> I've been searching the Internet for any information with no luck. I >>> would also assume that the problem is widely known, and I found one >>> related PR kern/141285 but that one was closed unsolved. >>>=20 >>> When a VLAN interface is added or removed to from the ix interfaces >>> the parent interface is briefly brought down and up. This event is >>> visible for all applications and the switches. With my use case I = add >>> and remove VLAN interfaces on the fly and the described behavior >>> causes undesired effects, especially for BGP daemons that are >>> configured to monitor one of permanent VLAN interfaces. >>>=20 >>> I use FreeBSD 7-STABLE and the behavior is the same with stock >>> drivers, with 2.2.3 and with 2.3.8 drivers downloaded from Intel web >>> site. I have attempted to disable -vlanhwtag, -vlanhwfilter and >>> -vlanhwtso with no effect. >>>=20 >>> Could someone help me to stop the cards behaving this way? I do not >>> mind some performance penalties, nor running in permanent = promiscuous >>> mode. I just want the card to stay up all the time regardless of the >>> vlan interfaces attached to it. >>>=20 >>> Any help, links, patches are much appreciated. >>>=20 >>> Regards, >>>=20 >>> Igor Anishchuk >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to = "freebsd-net-unsubscribe@freebsd.org" >>=20 >> -------------------------------------------------- >> Andrew Boyer aboyer@averesystems.com >>=20 >>=20 >>=20 >>=20 >>=20 -------------------------------------------------- Andrew Boyer aboyer@averesystems.com