Date: Tue, 18 Jul 2006 15:43:41 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Atanas <atanas@asd.aplus.net> Cc: Peter Jeremy <peterjeremy@optushome.com.au>, Robert Watson <rwatson@freebsd.org>, Michael Vince <mv@thebeastie.org>, freebsd-stable@freebsd.org, User Freebsd <freebsd@hub.org> Subject: Re: em device hangs on ifconfig alias ... Message-ID: <20060718064341.GC33301@cdnetworks.co.kr> In-Reply-To: <44B2BCDB.7050403@asd.aplus.net> References: <44AD7297.7080605@asd.aplus.net> <20060707010341.GD82406@cdnetworks.co.kr> <44ADC2ED.4070904@asd.aplus.net> <20060707040838.GE82406@cdnetworks.co.kr> <20060707151640.D51390@fledge.watson.org> <44AEB0CB.5060102@asd.aplus.net> <20060707181750.O1171@ganymede.hub.org> <20060707223609.N60542@fledge.watson.org> <20060708033254.GB87930@cdnetworks.co.kr> <44B2BCDB.7050403@asd.aplus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 10, 2006 at 01:47:23PM -0700, Atanas wrote: > Pyun YongHyeon said the following on 7/7/06 8:32 PM: > >On Fri, Jul 07, 2006 at 10:38:01PM +0100, Robert Watson wrote: > > > > > > Yes -- basically, there are two problems: > > > > > > (1) A little problem, in which an arp announcement is sent before the > > link > has > > > settled after reset. > > > > > > (2) A big problem, in which the interface is gratuitously recent > > requiring > > > long settling times. > > > > > > I'd really like to see a fix to the second of these problems (not > > resetting > when an IP is added or removed, resulting in link > > renegotiation); the first > one I'm less concerned about, although it > > would make some amount of sense > to do an arp announcement when the link > > goes up. > > > > > > >Ah, I see. Thanks for the insight. > >How about the attached patch? > > > This patch seems to fix both of the issues, or at least this is what I > see now: > - the card no longer gets reset when adding an alias; > - the arp packet gets delivered; > - adding 250 aliases takes less than a second; > > I haven't fully tested whether all 250 IP aliases were accessible (I > used non-routable IP addresses), but I suppose so. Also I couldn't > stress the patched driver enough to see whether it performs as expected. > > But in overall it looks good. I guess some more testing might be needed > in order to merge the patch into the source tree. > I haven't received any reports execept this one. If there is no objection I'll commit these changes within two days. -- Regards, Pyun YongHyeon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060718064341.GC33301>