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" <jfvo...@gmail.com> > To: "Steven Hartland" <kill...@multiplay.co.uk> > Cc: <freebsd-net@freebsd.org>; "Vogel, Jack" <jack.vo...@intel.com> > 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 postmas...@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-unsubscr...@freebsd.org" -------------------------------------------------- Andrew Boyer abo...@averesystems.com _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"