Ya, well that has some odd side effects also, for instance, the phy will in fact bring link up just via hardware initialization, so the link light will be on if you look at the port on the card, its this fact that is discovered when the driver attach routine is run, but as I said, no interrupts so no changes once that first detection happens. If I were just to say its down until init happens someone would inevitably complain about the disagreement between those :)
On the 10G adapters the physical link also does not come up until init runs so they are a bit more consistent. Jack On Mon, Jul 25, 2011 at 8:20 AM, Ben Hutchings <[email protected]>wrote: > On Mon, 2011-07-25 at 16:38 +0700, Ivan Alexandrovich wrote: > > On Fri, 22 Jul 2011 11:08:18 -0400 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? > > > > Thank you. When the interface is "up" driver works as expected. > > It's common behaviour that the physical link status is not (easily) > available while the interface is down. In Linux we resolved that when > an interface is down its link state is always reported as down (where we > have to give a boolean answer). > > Ben. > > -- > Ben Hutchings, Senior Software Engineer, Solarflare Communications > Not speaking for my employer; that's the marketing department's job. > They asked us to note that Solarflare product names are trademarked. > > _______________________________________________ > [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]"
