Date: Wed, 11 Nov 2015 16:40:31 +0000 From: Eric Joyner <ricera10@gmail.com> To: Jack Vogel <jfvogel@gmail.com>, Ryan Stone <rysto32@gmail.com> Cc: Jack F Vogel <jfv@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Steven Hartland <steven@multiplay.co.uk> Subject: Re: Intel XL710 broken link down detection? Message-ID: <CA%2Bb0zg_waxDNifKDMuSwo8ynrA-PPfeuomoPMof%2BKA8efsrZsg@mail.gmail.com> In-Reply-To: <CAFOYbcn-aL7Yus1uHVgjTeQqWr4VDELPAPq1qaWMBQ=Biw=d6g@mail.gmail.com> References: <564357E0.1050002@freebsd.org> <56436A5F.4020102@multiplay.co.uk> <CAFMmRNwuc4N%2B6TSCFuknbfYZnMzXuuunFbyeGfyaOzYWxgWfaA@mail.gmail.com> <CAFOYbcn-aL7Yus1uHVgjTeQqWr4VDELPAPq1qaWMBQ=Biw=d6g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I think the early versions of the description of the command were vague, so that's why it got everyone. We caught it and fixed it a few days ago internally. On Wed, Nov 11, 2015, 8:37 AM Jack Vogel <jfvogel@gmail.com> wrote: > LOL, Damn, what's the world coming to when you can't trust them Linux guys > :) > > Jack > > > > > On Wed, Nov 11, 2015 at 8:31 AM, Ryan Stone <rysto32@gmail.com> wrote: > > > On Wed, Nov 11, 2015 at 11:18 AM, Steven Hartland < > steven@multiplay.co.uk> > > wrote: > > > >> Comparing this to the Linux driver which does detect the link down I've > >> discovered it actually polls the link status by default in its watchdog. > >> > >> Disabling this with "ethtool --set-priv-flags eth1 LinkPolling off" and > >> the Linux driver also fails to detect link down. > >> > >> So this seems like a firmware or even hardware bug where it should be > >> reporting down events and the Linux driver has been updated to > workaround > >> the problem? > > > > > > No, apparently the Linux devs just didn't read the datasheet closely > > enough (and presumably the FreeBSD driver copied the mistake). There is > a > > mask of interrupt causes that works backwards from how one would expect; > > you mask out events that you *don't* want rather than events that you do > > want. Both the Linux and FreeBSD drivers pass a mask of events that they > > want interrupts for (the only reason why it appears to work on link up is > > that the the AN Completed event fires when link is up, as far as I can > > tell). Try the following patch: > > > > https://people.freebsd.org/~rstone/patches/ixl_link_int.diff > > > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://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?CA%2Bb0zg_waxDNifKDMuSwo8ynrA-PPfeuomoPMof%2BKA8efsrZsg>