From owner-freebsd-net@FreeBSD.ORG Sat Apr 23 04:49:53 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 F03FD106564A for ; Sat, 23 Apr 2011 04:49:52 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id C87898FC16 for ; Sat, 23 Apr 2011 04:49:52 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p3N4nnwr055213 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 22 Apr 2011 21:49:50 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4DB25A9E.5040008@freebsd.org> Date: Fri, 22 Apr 2011 21:50:38 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Andrew Boyer References: <4E85F36598CB480AA8B9706881573CB9@multiplay.co.uk><521514204B99427691043FF127B6E841@multiplay.co.uk> <036FCFE4-98BA-4B90-A060-4597B68A3596@averesystems.com> In-Reply-To: <036FCFE4-98BA-4B90-A060-4597B68A3596@averesystems.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Steven Hartland , 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 04:49:53 -0000 On 4/22/11 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. so, what else have you fixed? :-) > -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 > > > > > _______________________________________________ > 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" > >