From: Arjan van de Ven <arjan@linux.intel.com>
To: "Kok, Auke" <auke-jan.h.kok@intel.com>
Cc: Mark McLoughlin <markmc@redhat.com>,
Jeff Garzik <jeff@garzik.org>,
e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org,
"Ronciak, John" <john.ronciak@intel.com>,
Andrew Morton <akpm@linux-foundation.org>,
Jason Lunz <lunz@reflexsecurity.com>
Subject: Re: RFR: New e1000 driver (e1000new), was: Re: e1000: backport ich9 support from 7.5.5 ?
Date: Fri, 29 Jun 2007 16:38:31 -0700 [thread overview]
Message-ID: <468597F7.2050700@linux.intel.com> (raw)
In-Reply-To: <468594B7.6070309@intel.com>
Kok, Auke wrote:
> Jeff Garzik wrote:
>> Andrew Morton wrote:
>>> On Fri, 29 Jun 2007 14:39:20 -0700
>>> "Kok, Auke" <auke-jan.h.kok@intel.com> wrote:
>>>
>>>> That's why we want to introduce a second e1000 driver (named
>>>> differently, pick any name) that contains the new code base,
>>>> side-by-side into the kernel with the current e1000.
>>> Sounds like a reasonable approach to me (it has plenty of
>>> precedent). But
>>> I forget what all the other issues were, so ignore me.
>>
>> Given past history with duplicate drivers and the problems that they
>> cause -- I know, I've caused some of those problems :( -- I strongly
>> recommend against when it can be avoided.
>>
>> Leaving e1000 with current hardware, and a new e1001 for newer
>> hardware should be easier to manage for all involved, without the
>> headaches that duplicate drivers cause.
>>
Jeff,
ok first you hate the old e1000 and now you don't want to get rid of it ;)
I appreciate the pain a temporary dual driver situation gives; it
comes down to a few things that I can think of right now, if you see
more please add to the list.
1) users who find a bug in the new one silently use the old one rather
than reporting the bug; and only scream when the old one eventually
goes away (see ALSA/OSS duplication)
2) users who enable both in KConfig may get a "random" one
3) distros really prefer only 1 driver per PCI ID for their
infrastructure tools
4) there will be resistance against deleting the old one meaning it
might not happen
While the pain won't be zero, I know there are some simple things that
can be done to make it significantly less:
1) Make sure that the various feature-removal files and KConfig
clearly mark the old one as "going away" early on, make the old one
printk that it's the older driver and stick a hard date on it. This
should at least ease [1] and [4] above
2) After a minimal amount of shake-out time (say one kernel release),
make the old e1000 not export the PCI IDs in it's module, but make it
a manual modprobe. This means people can still use the old one, but
distro tools will pick the new one automatically
[and if there is any doubt about a specific PCI ID model temporarily,
that one can be done the other way around]
3) Have a config option which does what you say; allow both drivers to
be there but with non-overlapping PCI IDs; where exactly the new/old
split is is up for discussion, and it can even move over time
4) Work with the distro maintainers to default their development
snapshots as quickly as possible to the new driver so that it gets as
much testing as possible quickly; yet at the same time for their
security fixes and released updates they can use the 3) option
5) once there is some confidence in the new driver, put a patch into
-mm that makes the old driver really hard to select in KConfig; this
in preparation for removal later on (hey this worked for devfs ;)
6) put more or less a code freeze on the old driver; it should remain
compiling but it's ok to be bug-to-bug compatible with what is there
at the moment the new driver goes into the tree.
Personally I'm convinced this is a managable process with a reasonable
assurance that the old driver really can go away after 2 kernel
releases (as long as Auke and co are on top of bugreports about
regressions, I don't see why not). What is needed of course is some
level of strictness/determination to get rid of the old one after the
reasonable time period.
if you have other concerns about temporarily having two drivers that
are real showstoppers , please put them on the table; it might well be
possible to find a reasonable way to solve/mitigate them.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-06-29 23:38 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 17:29 e1000: backport ich9 support from 7.5.5 ? Mark McLoughlin
2007-06-29 17:50 ` Jason Lunz
2007-06-29 19:51 ` Kok, Auke
2007-06-29 20:22 ` Jason Lunz
2007-06-29 20:59 ` Jeff Garzik
2007-06-30 21:24 ` Mark McLoughlin
2007-07-02 23:52 ` Williams, Mitch A
2007-07-03 0:10 ` Rick Jones
2007-07-03 0:55 ` Jason Lunz
2007-07-03 1:44 ` Kok, Auke
2007-07-03 7:15 ` Christoph Hellwig
2007-07-03 13:13 ` [E1000-devel] " Jeff Garzik
2007-06-29 20:55 ` Jeff Garzik
2007-06-29 21:39 ` Kok, Auke
2007-06-29 22:03 ` Andrew Morton
2007-06-29 22:11 ` Jeff Garzik
2007-06-29 23:24 ` RFR: New e1000 driver (e1000new), was: " Kok, Auke
2007-06-29 23:38 ` Arjan van de Ven [this message]
2007-07-08 18:20 ` Jeff Garzik
2007-07-08 20:14 ` Arjan van de Ven
2007-07-08 22:01 ` [E1000-devel] " Jonathan Lundell
2007-06-30 3:32 ` Roland Dreier
2007-07-08 18:20 ` Jeff Garzik
2007-07-06 19:07 ` Jeff Garzik
2007-07-07 0:13 ` Kok, Auke
2007-07-07 12:23 ` James Chapman
2007-07-08 18:41 ` James Chapman
2007-07-07 18:59 ` Andrew Grover
2007-06-29 23:57 ` Andrew Grover
2007-06-30 0:02 ` Andrew Grover
2007-06-30 0:09 ` Jeff Garzik
2007-06-30 1:29 ` Jim McCullough
2007-06-30 1:31 ` Jim McCullough
2007-06-30 2:34 ` [E1000-devel] " Kok, Auke
2007-06-30 2:31 ` Kok, Auke
2007-06-30 8:25 ` Christoph Hellwig
2007-07-03 22:48 ` Splitting e1000 (Was: Re: e1000: backport ich9 support from 7.5.5 ?) Kok, Auke
2007-07-05 18:32 ` Kok, Auke
2007-07-06 0:22 ` Jeff Garzik
2007-07-07 0:14 ` Kok, Auke
2007-07-07 13:58 ` James Chapman
2007-07-07 19:04 ` Francois Romieu
2007-07-07 21:54 ` Kok, Auke
2007-07-08 1:32 ` Stephen Hemminger
2007-07-08 10:07 ` James Chapman
2007-07-08 16:29 ` Arjan van de Ven
2007-07-08 18:06 ` Jeff Garzik
2007-07-08 19:24 ` Andrew Grover
2007-07-09 17:56 ` Jeff Garzik
2007-07-08 20:05 ` Arjan van de Ven
2007-07-09 18:39 ` Jeff Garzik
2007-07-09 18:46 ` Stephen Hemminger
2007-07-09 19:36 ` Arjan van de Ven
2007-07-09 20:46 ` Kok, Auke
2007-07-09 22:26 ` Jeff Garzik
2007-07-13 21:45 ` Kok, Auke
2007-07-13 22:08 ` Jeff Garzik
2007-07-13 22:13 ` Kok, Auke
2007-07-08 18:08 ` Jeff Garzik
2007-07-08 17:41 ` Jeff Garzik
2007-06-30 14:31 ` e1000: backport ich9 support from 7.5.5 ? James Chapman
2007-06-30 16:29 ` Kok, Auke
2007-07-01 10:45 ` James Chapman
2007-06-30 8:26 ` Christoph Hellwig
2007-06-29 22:16 ` Kok, Auke
2007-06-29 22:07 ` Jeff Garzik
2007-06-29 21:39 ` Andy Gospodarek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=468597F7.2050700@linux.intel.com \
--to=arjan@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=auke-jan.h.kok@intel.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=jeff@garzik.org \
--cc=john.ronciak@intel.com \
--cc=lunz@reflexsecurity.com \
--cc=markmc@redhat.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).