Date: Fri, 22 Jul 2011 15:42:26 -0400 From: Arnaud Lacombe <lacombar@gmail.com> To: Jack Vogel <jfvogel@gmail.com> Cc: freebsd-net@freebsd.org, Ivan Alexandrovich <ivsan@ngs.ru>, Ryan Stone <rysto32@gmail.com> Subject: Re: Ethernet link status on i82576 Message-ID: <CACqU3MVxaH9ehaUBrEk4hGBM5LGx0aswsxqtWy=mXXHaXnWR7Q@mail.gmail.com> In-Reply-To: <CAFOYbckqbrJtxss9MQN-N8B2HReGkeihdrb8jh7bW8A4XYnZyw@mail.gmail.com> References: <web-8285764@mx16.intranet.ru> <CAFMmRNxNYyWUYZ299GeK6oksay_5nL9XxVvM39LTQEakRPXE9g@mail.gmail.com> <CAFOYbckqbrJtxss9MQN-N8B2HReGkeihdrb8jh7bW8A4XYnZyw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, Jul 22, 2011 at 12:32 PM, Jack Vogel <jfvogel@gmail.com> wrote: > Correct, until you up the interface there are no interrupts enabled so yo= u > don't detect link change. > > Not a bug, linux is a different kettle of fish... > As we speak about this. Is there a reason for em(4) to have a soft-check in em_handle_link() to only update the link status if IFF_DRV_RUNNING is set ? If so, what is it ? Thanks, - Arnaud > Jack > > > On Fri, Jul 22, 2011 at 8:08 AM, Ryan Stone <rysto32@gmail.com> wrote: > >> I notice that the interface not up in your test. =A0If you ifconfig it >> up does it detect that it has lost link? =A0The driver isn't really >> running anymore when you bring the link down -- interrupts are >> disabled, for example, so it will never get a link down interrupt. >> _______________________________________________ >> 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" >> > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACqU3MVxaH9ehaUBrEk4hGBM5LGx0aswsxqtWy=mXXHaXnWR7Q>