From owner-freebsd-net@FreeBSD.ORG Sat Apr 23 01:06:10 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 651E2106566B for ; Sat, 23 Apr 2011 01:06:10 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1067A8FC16 for ; Sat, 23 Apr 2011 01:06:09 +0000 (UTC) Received: by vxc34 with SMTP id 34so1065175vxc.13 for ; Fri, 22 Apr 2011 18:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4uzC9XtvC+YhvpFKrl7Y+ep3ADbTVrvaYremW3ZFh58=; b=T03a0QLgQIIHMLgZ6vCa7djEe6m0PN/TyCui7HwItsQc2Sd9fe6QFRYr03ZLMToYDR g/MOjupe3xgsZDdbltL2qz4Z1PnFu6rYIZONIZt7Vn2xYtTrP1m/Tki2bGs62m0nq+pH AlKyrJqNKCzNJXkwZ4b12nXyK3wHg6lrliat0= 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=oTP2LJGGucGTnPp/IcmoaPeeqhUYpYxg36qjDC9ZyJreK5lyECkLX7DZA1sq4PHhCJ Wtl15VAJoGlBL5hIF2nsFfxrxyTTvDSXx90gVU6rpHTPe/PGMQQ7LxeRbnaZ28GbOfLw r+CI2BNv+d5rpgqoD7xRs8hrQa6falqWqFziE= MIME-Version: 1.0 Received: by 10.52.107.98 with SMTP id hb2mr2462608vdb.247.1303520769158; Fri, 22 Apr 2011 18:06:09 -0700 (PDT) Received: by 10.52.167.67 with HTTP; Fri, 22 Apr 2011 18:06:09 -0700 (PDT) In-Reply-To: <036FCFE4-98BA-4B90-A060-4597B68A3596@averesystems.com> References: <4E85F36598CB480AA8B9706881573CB9@multiplay.co.uk> <521514204B99427691043FF127B6E841@multiplay.co.uk> <036FCFE4-98BA-4B90-A060-4597B68A3596@averesystems.com> Date: Fri, 22 Apr 2011 18:06:09 -0700 Message-ID: From: Jack Vogel To: Andrew Boyer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Steven Hartland , "Vogel, Jack" Subject: Re: Intel ix (X520) disconnects when manipulating ips? 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: Sat, 23 Apr 2011 01:06:10 -0000 Whoops, I see what you're talking about Andrew, OK, I get it, Steve I have another set of changes to get into ixgbe soon anyway, I'll roll this change up with that and then let you test it as soon as I get something ready, ok? Early next week. Jack On Fri, Apr 22, 2011 at 5:08 PM, Andrew Boyer wrote: > Hello Steve and Jack, > You need to handle the SIOCSIFADDR ioctl or it gets passed up the stack to > ether_ioctl(). When it goes up the interface gets reset. See the comments > in em_ioctl() and igb_ioctl(). > > We fixed this in ixgbe in our internal tree and it seems to work fine with > 82598 and 82599. You also need to include opt_inet.h for the INET #define > to be valid. > > -Andrew > > On Apr 22, 2011, at 7:06 PM, Steven Hartland wrote: > > > Just double checked on igb1 on the same machine, adding an alias causes > > no loss in network from the primary or existing ip aliases for the nic. > > > > So this should be eliminating most variables except the driver? > > > > Regards > > Steve > > > > ----- Original Message ----- From: "Jack Vogel" > > To: "Steven Hartland" > > Cc: ; "Vogel, Jack" > > Sent: Friday, April 22, 2011 11:35 PM > > Subject: Re: Intel ix (X520) disconnects when manipulating ips? > > > > > >> OK, did some testing, this re-init with link transition will happen on > both > >> the 1G > >> drivers as well as ixgbe, its due to the stack/ioctl behavior when you > do > >> the > >> ifconfig. > >> So, what are you comparing this to that DOESN'T do this?? If this were > to > >> be kept from happening I'm not sure where the responsible code would be > >> but I'm pretty sure its not in the driver :) > > > > > > ================================================ > > This e.mail is private and confidential between Multiplay (UK) Ltd. and > the person or entity to whom it is addressed. In the event of misdirection, > the recipient is prohibited from using, copying, printing or otherwise > disseminating it or any information contained in it. > > In the event of misdirection, illegible or incomplete transmission please > telephone +44 845 868 1337 > > or return the E.mail to postmaster@multiplay.co.uk. > > > > _______________________________________________ > > 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 aboyer@averesystems.com > > > > >