Ethernet link status on i82576

Arnaud Lacombe lacombar at gmail.com
Fri Jul 22 19:42:27 UTC 2011


Hi,

On Fri, Jul 22, 2011 at 12:32 PM, Jack Vogel <jfvogel at gmail.com> 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 <rysto32 at gmail.com> 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.
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-net mailing list