From owner-freebsd-net@FreeBSD.ORG Sat Apr 23 00:08:45 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 DFAEA106564A for ; Sat, 23 Apr 2011 00:08:44 +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 953F08FC08 for ; Sat, 23 Apr 2011 00:08:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 0CCBA446007; Fri, 22 Apr 2011 20:09:13 -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 nYu35x95wwHt; Fri, 22 Apr 2011 20:09:11 -0400 (EDT) Received: from [192.168.1.103] (c-174-54-254-163.hsd1.pa.comcast.net [174.54.254.163]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 93AAA446001; Fri, 22 Apr 2011 20:09:11 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer X-Priority: 3 In-Reply-To: Date: Fri, 22 Apr 2011 20:08:41 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <036FCFE4-98BA-4B90-A060-4597B68A3596@averesystems.com> References: <4E85F36598CB480AA8B9706881573CB9@multiplay.co.uk><521514204B99427691043FF127B6E841@multiplay.co.uk> To: Steven Hartland X-Mailer: Apple Mail (2.1084) Cc: freebsd-net@freebsd.org, Jack Vogel , "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 00:08:45 -0000 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. >=20 > So this should be eliminating most variables except the driver? >=20 > Regards > Steve >=20 > ----- 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? >=20 >=20 >> 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 :) >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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.=20 > 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. >=20 > _______________________________________________ > 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