From owner-freebsd-net@FreeBSD.ORG Thu May 19 08:37:37 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 9B3DF106566C for ; Thu, 19 May 2011 08:37:37 +0000 (UTC) (envelope-from igor.anishchuk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5962C8FC18 for ; Thu, 19 May 2011 08:37:37 +0000 (UTC) Received: by qwc9 with SMTP id 9so1644763qwc.13 for ; Thu, 19 May 2011 01:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=n0x+Hhi2iq3f+kCNNU03J5BF1Gg+spLQxlZejgvxXkM=; b=fvLPHhf7dpz8f4VZ2R06Rh6Mbw9lqdhg+gKZOKNS34kHKjoaI5SYN5pMTItYF1W+Wq CmedLRBpipYEcFDWY/XrBv1rG0NbdJFqu67NkntHoKzqIqZ4CnIhdoWaVrDmy9inULaI oWVg06cqfZ+R3+sx3nf9rndzAO7qFRlHV75Ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XSY/OekohL6NknjGmqbGfuHT5tiCYwaj20Rwi+ZqmJUu6eOpfZnV/wRGXhFwoXWgC/ uSa/ej4uC7FeHIuAnfytfaKKqOKI5Mcyha/iN6T7wRvUrCn5b+YIYm1ogLwn5h4Ekzjw MAOTlYc5b6u1Le4GTQ+SVn0Y1PDLNwitNy4+M= MIME-Version: 1.0 Received: by 10.224.61.1 with SMTP id r1mr2202680qah.105.1305788290420; Wed, 18 May 2011 23:58:10 -0700 (PDT) Received: by 10.224.60.199 with HTTP; Wed, 18 May 2011 23:58:10 -0700 (PDT) Date: Thu, 19 May 2011 09:58:10 +0300 Message-ID: From: Igor Anishchuk To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: 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: Thu, 19 May 2011 08:37:37 -0000 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