em device hangs on ifconfig alias ...
Pyun YongHyeon
pyunyh at gmail.com
Tue Jul 18 06:42:13 UTC 2006
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
More information about the freebsd-stable
mailing list