Hi, On Fri, Jul 22, 2011 at 12:32 PM, Jack Vogel <[email protected]> wrote: > Correct, until you up the interface there are no interrupts enabled so you > 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 <[email protected]> wrote: > >> I notice that the interface not up in your test. If you ifconfig it >> up does it detect that it has lost link? The 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. >> _______________________________________________ >> [email protected] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "[email protected]" >> > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[email protected]"
