From owner-freebsd-net@FreeBSD.ORG Tue Jun 28 20:33:51 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 AD67D106564A for ; Tue, 28 Jun 2011 20:33:51 +0000 (UTC) (envelope-from igor.anishchuk@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 70A468FC15 for ; Tue, 28 Jun 2011 20:33:51 +0000 (UTC) Received: by qyk30 with SMTP id 30so2464302qyk.13 for ; Tue, 28 Jun 2011 13:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=aBuIw+sr/g91aCxq5D+1nV9iaM4cRCm+GdJaHJ2lhC8=; b=QuRis9XyQH0N3zi4C6uqcKObMTtDFpIrSIn+7xtPHrIkW+Br8TIsYaWAjW6d2SnMAU g/O66n4V990myNcgBTS9Ak9ycRF0nNMjiQv7Nwg2wvFcM7glCXpmmyxsmYORZzWk4tc/ PJStJEmdJJJG/3CCaC5pvI8FLjFuNOR0udEg4= MIME-Version: 1.0 Received: by 10.224.177.205 with SMTP id bj13mr2033802qab.287.1309291358197; Tue, 28 Jun 2011 13:02:38 -0700 (PDT) Received: by 10.224.36.207 with HTTP; Tue, 28 Jun 2011 13:02:38 -0700 (PDT) In-Reply-To: <8F86FFA7-E2D7-40D6-A1B5-DFCFA47EBD75@averesystems.com> References: <8F86FFA7-E2D7-40D6-A1B5-DFCFA47EBD75@averesystems.com> Date: Tue, 28 Jun 2011 23:02:38 +0300 Message-ID: From: Igor Anishchuk To: Andrew Boyer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:33:51 -0000 Hi Andrew, could you please share the patch as I'm dying with this problem. 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. -- Igor On Thu, May 19, 2011 at 8:58 PM, Andrew Boyer wro= te: > I have a patch that will fix this. =C2=A0Please give me a little while to= clean it up, and I will send it out on the list. > > -Andrew > > On May 19, 2011, at 2:58 AM, Igor Anishchuk wrote: > >> Hi All, >> >> 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. >> >> 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. >> >> 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. >> >> 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. >> >> Any help, links, patches are much appreciated. >> >> Regards, >> >> 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" > > -------------------------------------------------- > Andrew Boyer =C2=A0 =C2=A0aboyer@averesystems.com > > > > >