[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1288788357.989.77.camel@concordia>
Date: Wed, 03 Nov 2010 23:45:57 +1100
From: Michael Ellerman <michael@...erman.id.au>
To: Matthew Wilcox <matthew@....cx>
Cc: David Miller <davem@...emloft.net>, bhutchings@...arflare.com,
somnath.kotur@...lex.com, netdev@...r.kernel.org,
linux-pci@...r.kernel.org
Subject: Re: [PATCH net-next-2.6 1/2] be2net: Adding an option to use INTx
instead of MSI-X
On Sat, 2010-10-30 at 17:21 -0600, Matthew Wilcox wrote:
> On Tue, Oct 26, 2010 at 05:52:08PM +1100, Michael Ellerman wrote:
> > That horse has really really bolted, it's gawn.
> >
> > I count 26 drivers with "disable MSI/X" parameters. Some even have more
> > than one.
>
> That's 26 patches someone needs to write, then. You can put my Acked-by
> on all of them.
Bah, come on it's hardly the most horrendous sin committed by driver
writers. And removing them risks breaking someone's system, even if they
are clueless, should RTFM etc.
> > I agree it's a mess for users, but it's probably preferable to a
> > non-working driver.
>
> What more drivers need is an automatic detection of a non-working
> interrupt situation, great big warning messages, and fallback to an
> alternate interrupt mechanism. Doing it for one driver, then generalising
> as much of it into the core as possible would be nice.
More detection would be good.
I don't see much potential for generalising it though. Looking at e1000e
and tg3 there is really not much in common except the very basic idea.
cheers
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists