Date: Mon, 25 Jul 2011 10:05:13 -0700 From: Jack Vogel <jfvogel@gmail.com> To: Ben Hutchings <bhutchings@solarflare.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: <CAFOYbcm73BeK8xgt9j1769ZUdM4cKJUSe9inBZHko7TXkYASSw@mail.gmail.com> In-Reply-To: <1311607225.4301.69.camel@deadeye> References: <web-8285764@mx16.intranet.ru> <CAFMmRNxNYyWUYZ299GeK6oksay_5nL9XxVvM39LTQEakRPXE9g@mail.gmail.com> <web-8364904@mx16.intranet.ru> <1311607225.4301.69.camel@deadeye>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bhutchings@solarflare.com>wrote: > On Mon, 2011-07-25 at 16:38 +0700, Ivan Alexandrovich wrote: > > On Fri, 22 Jul 2011 11:08:18 -0400 Ryan Stone <rysto32@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? > > > > 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. > > _______________________________________________ > 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?CAFOYbcm73BeK8xgt9j1769ZUdM4cKJUSe9inBZHko7TXkYASSw>