Skip to contentSkip to conversation

staging: Revert "staging: qlge: Retire the driver"

PATCH In review Benjamin Poirier 3 participants 8 messages Oct 30, 2023 – Nov 7, 2023

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: Revert "staging: qlge: Retire the driver"

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

Reported by: Kira <[email protected]>

---

Notes:
Once the removal and revert show up in the net-next tree, I plan to send a followup patch to move the driver to drivers/net/ as discussed earlier:
https://lore.kernel.org/netdev/[email protected]/

 .../networking/device_drivers/index.rst       |    1 +
 .../device_drivers/qlogic/index.rst           |   18 +
 .../networking/device_drivers/qlogic/qlge.rst |  118 +
 MAINTAINERS                                   |    9 +
 arch/parisc/configs/generic-64bit_defconfig   |    1 +
 drivers/staging/Kconfig                       |    2 +
 drivers/staging/Makefile                      |    1 +
 drivers/staging/qlge/Kconfig                  |   11 +
 drivers/staging/qlge/Makefile                 |    8 +
 drivers/staging/qlge/TODO                     |   28 +
 drivers/staging/qlge/qlge.h                   | 2293 ++++++++
 drivers/staging/qlge/qlge_dbg.c               | 1311 +++++
 drivers/staging/qlge/qlge_devlink.c           |  167 +
 drivers/staging/qlge/qlge_devlink.h           |    9 +
 drivers/staging/qlge/qlge_ethtool.c           |  746 +++
 drivers/staging/qlge/qlge_main.c              | 4845 +++++++++++++++++
 drivers/staging/qlge/qlge_mpi.c               | 1273 +++++
 17 files changed, 10841 insertions(+)
 create mode 100644 Documentation/networking/device_drivers/qlogic/index.rst
 create mode 100644 Documentation/networking/device_drivers/qlogic/qlge.rst
 create mode 100644 drivers/staging/qlge/Kconfig
 create mode 100644 drivers/staging/qlge/Makefile
 create mode 100644 drivers/staging/qlge/TODO
 create mode 100644 drivers/staging/qlge/qlge.h
 create mode 100644 drivers/staging/qlge/qlge_dbg.c
 create mode 100644 drivers/staging/qlge/qlge_devlink.c
 create mode 100644 drivers/staging/qlge/qlge_devlink.h
 create mode 100644 drivers/staging/qlge/qlge_ethtool.c
 create mode 100644 drivers/staging/qlge/qlge_main.c
 create mode 100644 drivers/staging/qlge/qlge_mpi.c
Documentation/networking/device_drivers/index.rst +1 -0
index 1ab70c94e1aa..601eacaf12f3 100644
@@ -16,6 +16,7 @@ Contents:
    ethernet/index
    fddi/index
    hamradio/index
+   qlogic/index
    wifi/index
    wwan/index
 
Documentation/networking/device_drivers/qlogic/index.rst new file +18 -0
new file mode 100644
index 000000000000..ad05b04286e4
@@ -0,0 +1,18 @@
+.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+QLogic QLGE Device Drivers
+===============================================
+
+Contents:
+
+.. toctree::
+   :maxdepth: 2
+
+   qlge
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
Documentation/networking/device_drivers/qlogic/qlge.rst new file +118 -0

118 lines not on this page · raw message

MAINTAINERS +9 -0
index ea11a810a92a..90f13281d297 100644
@@ -17540,6 +17540,15 @@ L:	[email protected]
 S:	Supported
 F:	drivers/net/ethernet/qlogic/qlcnic/
 
+QLOGIC QLGE 10Gb ETHERNET DRIVER
+M:	Manish Chopra <[email protected]>
+M:	[email protected]
+M:	Coiby Xu <[email protected]>
+L:	[email protected]
+S:	Supported
+F:	Documentation/networking/device_drivers/qlogic/qlge.rst
+F:	drivers/staging/qlge/
+
 QM1D1B0004 MEDIA DRIVER
 M:	Akihiro Tsukada <[email protected]>
 L:	[email protected]
arch/parisc/configs/generic-64bit_defconfig +1 -0
index 19a804860ed5..f6ded7147b4d 100644
@@ -248,6 +248,7 @@ CONFIG_UIO_AEC=m
 CONFIG_UIO_SERCOS3=m
 CONFIG_UIO_PCI_GENERIC=m
 CONFIG_STAGING=y
+CONFIG_QLGE=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT2_FS_XATTR=y
 CONFIG_EXT2_FS_SECURITY=y
drivers/staging/Kconfig +2 -0
index 784b9f673ead..21a158dabe6c 100644
@@ -72,6 +72,8 @@ source "drivers/staging/axis-fifo/Kconfig"
 
 source "drivers/staging/fieldbus/Kconfig"
 
+source "drivers/staging/qlge/Kconfig"
+
 source "drivers/staging/vme_user/Kconfig"
 
 endif # STAGING
drivers/staging/Makefile +1 -0
index 2ea99c7b05d9..0f6379436443 100644
@@ -26,3 +26,4 @@ obj-$(CONFIG_BCM2835_VCHIQ)	+= vc04_services/
 obj-$(CONFIG_PI433)		+= pi433/
 obj-$(CONFIG_XIL_AXIS_FIFO)	+= axis-fifo/
 obj-$(CONFIG_FIELDBUS_DEV)     += fieldbus/
+obj-$(CONFIG_QLGE)		+= qlge/
drivers/staging/qlge/Kconfig new file +11 -0
new file mode 100644
index 000000000000..6d831ed67965
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config QLGE
+	tristate "QLogic QLGE 10Gb Ethernet Driver Support"
+	depends on ETHERNET && PCI
+	select NET_DEVLINK
+	help
+	This driver supports QLogic ISP8XXX 10Gb Ethernet cards.
+
+	To compile this driver as a module, choose M here. The module will be
+	called qlge.
drivers/staging/qlge/Makefile new file +8 -0
new file mode 100644
index 000000000000..07c1898a512e
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the Qlogic 10GbE PCI Express ethernet driver
+#
+
+obj-$(CONFIG_QLGE) += qlge.o
+
+qlge-objs := qlge_main.o qlge_dbg.o qlge_mpi.o qlge_ethtool.o qlge_devlink.o
drivers/staging/qlge/TODO new file +28 -0
new file mode 100644
index 000000000000..7e277407033e
@@ -0,0 +1,28 @@
+* commit 7c734359d350 ("qlge: Size RX buffers based on MTU.", v2.6.33-rc1)
+  introduced dead code in the receive routines, which should be rewritten
+  anyways by the admission of the author himself, see the comment above
+  qlge_build_rx_skb(). That function is now used exclusively to handle packets
+  that underwent header splitting but it still contains code to handle non
+  split cases.
+* truesize accounting is incorrect (ex: a 9000B frame has skb->truesize 10280
+  while containing two frags of order-1 allocations, ie. >16K)
+* while in that area, using two 8k buffers to store one 9k frame is a poor
+  choice of buffer size.
+* in the "chain of large buffers" case, the driver uses an skb allocated with
+  head room but only puts data in the frags.
+* rename "rx" queues to "completion" queues. Calling tx completion queues "rx
+  queues" is confusing.
+* struct rx_ring is used for rx and tx completions, with some members relevant
+  to one case only
+* the flow control implementation in firmware is buggy (sends a flood of pause
+  frames, resets the link, device and driver buffer queues become
+  desynchronized), disable it by default
+* the driver has a habit of using runtime checks where compile time checks are
+  possible (ex. qlge_free_rx_buffers())
+* reorder struct members to avoid holes if it doesn't impact performance
+* use better-suited apis (ex. use pci_iomap() instead of ioremap())
+* remove duplicate and useless comments
+* fix weird line wrapping (all over, ex. the qlge_set_routing_reg() calls in
+  qlge_set_multicast_list()).
+* remove useless casts (ex. memset((void *)mac_iocb_ptr, ...))
+* fix checkpatch issues
drivers/staging/qlge/qlge.h new file +2293 -0

2,293 lines not on this page · raw message

drivers/staging/qlge/qlge_dbg.c new file +1311 -0

483 lines not on this page · raw message

drivers/staging/qlge/qlge_devlink.c new file +167 -0

167 lines not on this page · raw message

drivers/staging/qlge/qlge_devlink.h new file +9 -0
new file mode 100644
index 000000000000..94538e923f2f

Lines of this file are not shown. View the raw message.

drivers/staging/qlge/qlge_ethtool.c new file +746 -0

746 lines not on this page · raw message

drivers/staging/qlge/qlge_main.c new file +4845 -0

4,845 lines not on this page · raw message

drivers/staging/qlge/qlge_mpi.c new file +1273 -0

1,273 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.42.0

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 10 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

Who's going to maintain this?

Quoted 8 lines

Reported by: Kira <[email protected]>

---

Notes:
Once the removal and revert show up in the net-next tree, I plan to send a followup patch to move the driver to drivers/net/ as discussed earlier:
https://lore.kernel.org/netdev/[email protected]/

are you going to be willing to maintain this and keep it alive?

I'm all this, if you want to, but I would like it out of staging. So how about applying this, and a follow-on one that moves it there once -rc1 is out? And it probably should be in the 'net' tree, as you don't want 6.7 to come out without the driver at all, right?

MAINTAINERS L: [email protected] · line 17550

Quoted 8 lines
MAINTAINERS +8 -0
+QLOGIC QLGE 10Gb ETHERNET DRIVER
+M:	Manish Chopra <[email protected]>
+M:	[email protected]
+M:	Coiby Xu <[email protected]>
+L:	[email protected]
+S:	Supported
+F:	Documentation/networking/device_drivers/qlogic/qlge.rst
+F:	drivers/staging/qlge/

It's obvious taht these people are not maintaining this code, so they should be dropped from the MAINTAINERS file as well.

thanks,

greg k-h

#2 lore raw
Quoted 6 lines · Greg Kroah-Hartman
Quoted 5 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

Quoted 7 lines
Quoted 5 lines

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

Who's going to maintain this?

I was planning to update the MAINTAINERS entry to
S: Orphan
when moving it back to drivers/net/. Would you prefer that I do that change in a second patch right after the revert in staging? That would certainly make things clearer.

Quoted 10 lines
Quoted 8 lines

Reported by: Kira <[email protected]>

---

Notes:
Once the removal and revert show up in the net-next tree, I plan to send a followup patch to move the driver to drivers/net/ as discussed earlier:
https://lore.kernel.org/netdev/[email protected]/

are you going to be willing to maintain this and keep it alive?

No.

Quoted 1 line

I'm all this, if you want to, but I would like it out of staging. So

I'd like it out of staging as well. Since nobody wants to maintain it, I think it should be deleted. However, my understanding is that Jakub is willing to take it back into drivers/net/ as-is given that there is at least one user. Jakub, did I understand that correctly?

Quoted 3 lines

how about applying this, and a follow-on one that moves it there once -rc1 is out? And it probably should be in the 'net' tree, as you don't want 6.7 to come out without the driver at all, right?

Right about making sure 6.7 includes the driver. The 'net' tree is usually for fixes hence why I would send to net-next. So the driver would still be in staging for 6.7 (if you include the revert in your 6.7-rc1 submission) and would be back in drivers/net/ for 6.8.

Quoted 11 lines

MAINTAINERS L: [email protected] · line 17550

Quoted 8 lines
MAINTAINERS +8 -0
+QLOGIC QLGE 10Gb ETHERNET DRIVER
+M:	Manish Chopra <[email protected]>
+M:	[email protected]
+M:	Coiby Xu <[email protected]>
+L:	[email protected]
+S:	Supported
+F:	Documentation/networking/device_drivers/qlogic/qlge.rst
+F:	drivers/staging/qlge/

It's obvious taht these people are not maintaining this code, so they should be dropped from the MAINTAINERS file as well.

I agree.

#3 lore raw
Quoted 41 lines · Benjamin Poirier
Quoted 6 lines · Greg Kroah-Hartman
Quoted 5 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

Quoted 7 lines
Quoted 5 lines

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

Who's going to maintain this?

I was planning to update the MAINTAINERS entry to
S: Orphan
when moving it back to drivers/net/. Would you prefer that I do that change in a second patch right after the revert in staging? That would certainly make things clearer.

Quoted 10 lines
Quoted 8 lines

Reported by: Kira <[email protected]>

---

Notes:
Once the removal and revert show up in the net-next tree, I plan to send a followup patch to move the driver to drivers/net/ as discussed earlier:
https://lore.kernel.org/netdev/[email protected]/

are you going to be willing to maintain this and keep it alive?

No.

Quoted 1 line

I'm all this, if you want to, but I would like it out of staging. So

I'd like it out of staging as well. Since nobody wants to maintain it, I think it should be deleted. However, my understanding is that Jakub is willing to take it back into drivers/net/ as-is given that there is at least one user. Jakub, did I understand that correctly?

Quoted 8 lines
Quoted 3 lines

how about applying this, and a follow-on one that moves it there once -rc1 is out? And it probably should be in the 'net' tree, as you don't want 6.7 to come out without the driver at all, right?

Right about making sure 6.7 includes the driver. The 'net' tree is usually for fixes hence why I would send to net-next. So the driver would still be in staging for 6.7 (if you include the revert in your 6.7-rc1 submission) and would be back in drivers/net/ for 6.8.

Rereading, I think I misunderstood your suggestion. You're suggesting that I submit the revert through the net tree rather than the staging tree. That sounds good. I'll do that once the removal shows up there.

maintainer
#4 lore raw
In reply to Benjamin Poirier
Quoted 6 lines · On Mon, 30 Oct 2023 12:33:55 -0400 Benjamin Poirier wrote:
Quoted 1 line

I'm all this, if you want to, but I would like it out of staging. So

I'd like it out of staging as well. Since nobody wants to maintain it, I think it should be deleted. However, my understanding is that Jakub is willing to take it back into drivers/net/ as-is given that there is at least one user. Jakub, did I understand that correctly?

Yes, of all the bad options this one seems least.. unusual.

To be clear - we can take the revert to net, and then the follow up / move would go to net-next (after -rc1, for v6.8)? My initial thought was to get the move done in 6.7 as well, but I guess that'd be churn we don't want at this stage..

#5 lore raw
In reply to Benjamin Poirier
Quoted 13 lines · Benjamin Poirier
Quoted 12 lines · Greg Kroah-Hartman
Quoted 10 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

Quoted 7 lines
Quoted 1 line

Who's going to maintain this?

I was planning to update the MAINTAINERS entry to
S: Orphan
when moving it back to drivers/net/. Would you prefer that I do that change in a second patch right after the revert in staging? That would certainly make things clearer.

I would prefer not having orphaned code in the kernel tree. Again, who is going to support this? It was dropped because there is no owner and the company doesn't care anymore. We can't add it back if there is no one who will do the real-work to fix it up and get it out of staging. Just magically moving it there isn't going to be a solution either.

Quoted 20 lines
Quoted 10 lines
Quoted 8 lines

Reported by: Kira <[email protected]>

---

Notes:
Once the removal and revert show up in the net-next tree, I plan to send a followup patch to move the driver to drivers/net/ as discussed earlier:
https://lore.kernel.org/netdev/[email protected]/

are you going to be willing to maintain this and keep it alive?

No.

Quoted 1 line

I'm all this, if you want to, but I would like it out of staging. So

I'd like it out of staging as well. Since nobody wants to maintain it, I think it should be deleted. However, my understanding is that Jakub is willing to take it back into drivers/net/ as-is given that there is at least one user. Jakub, did I understand that correctly?

Quoted 8 lines
Quoted 3 lines

how about applying this, and a follow-on one that moves it there once -rc1 is out? And it probably should be in the 'net' tree, as you don't want 6.7 to come out without the driver at all, right?

Right about making sure 6.7 includes the driver. The 'net' tree is usually for fixes hence why I would send to net-next. So the driver would still be in staging for 6.7 (if you include the revert in your 6.7-rc1 submission) and would be back in drivers/net/ for 6.8.

Let's wait until 6.7-rc1 is out and then, if the netdev developers want to take this on, they can revert it and move it to drivers/net/.

But right now, my tree is frozen, it's the middle of the merge window, let's wait 2 weeks please.

thanks,

greg k-h

#6 lore raw
In reply to Benjamin Poirier
Quoted 10 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

<snip>

Quoted 21 lines
drivers/staging/qlge/TODO new file +18 -0
@@ -0,0 +1,28 @@
+* commit 7c734359d350 ("qlge: Size RX buffers based on MTU.", v2.6.33-rc1)
+  introduced dead code in the receive routines, which should be rewritten
+  anyways by the admission of the author himself, see the comment above
+  qlge_build_rx_skb(). That function is now used exclusively to handle packets
+  that underwent header splitting but it still contains code to handle non
+  split cases.
+* truesize accounting is incorrect (ex: a 9000B frame has skb->truesize 10280
+  while containing two frags of order-1 allocations, ie. >16K)
+* while in that area, using two 8k buffers to store one 9k frame is a poor
+  choice of buffer size.
+* in the "chain of large buffers" case, the driver uses an skb allocated with
+  head room but only puts data in the frags.
+* rename "rx" queues to "completion" queues. Calling tx completion queues "rx
+  queues" is confusing.
+* struct rx_ring is used for rx and tx completions, with some members relevant
+  to one case only
+* the flow control implementation in firmware is buggy (sends a flood of pause
+  frames, resets the link, device and driver buffer queues become

drivers/staging/qlge/TODO line 28

Quoted 10 lines
drivers/staging/qlge/TODO new file +10 -0
+  desynchronized), disable it by default
+* the driver has a habit of using runtime checks where compile time checks are
+  possible (ex. qlge_free_rx_buffers())
+* reorder struct members to avoid holes if it doesn't impact performance
+* use better-suited apis (ex. use pci_iomap() instead of ioremap())
+* remove duplicate and useless comments
+* fix weird line wrapping (all over, ex. the qlge_set_routing_reg() calls in
+  qlge_set_multicast_list()).
+* remove useless casts (ex. memset((void *)mac_iocb_ptr, ...))
+* fix checkpatch issues

In looking at this again, are you sure you all want this in the tree? I'm glad to take the revert but ONLY if you are willing to then take a "move this to drivers/net/" patch for the code as well, WITH an actual maintainer and developer who is willing to do the work for this code.

In all the years that this has been in the staging tree, the listed maintainers have not been active at all from what I can remember, and obviously the above list of "things to fix" have not really been worked on at all.

So why should it be added back? I understand there is at least one reported user, but for drivers in the staging tree, that's not a good reason to keep them around if there is not an actual maintainer that is willing to do the work.

Which reminds me, we should probably sweep the drivers/staging/ tree again to see what we can remove given a lack of real development. Normally we do that every other year or so, and this driver would fall into the "no one is doing anything with it" category and should be dropped.

thanks,

greg k-h

#7 lore raw
Quoted 61 lines · Greg Kroah-Hartman
Quoted 10 lines · Benjamin Poirier

This reverts commit 875be090928d19ff4ae7cbaadb54707abb3befdf.

On All Hallows' Eve, fear and cower for it is the return of the undead driver.

There was a report [1] from a user of a QLE8142 device. They would like for the driver to remain in the kernel. Therefore, revert the removal of the qlge driver.

[1] https://lore.kernel.org/netdev/[email protected]/

<snip>

Quoted 21 lines
drivers/staging/qlge/TODO new file +18 -0
@@ -0,0 +1,28 @@
+* commit 7c734359d350 ("qlge: Size RX buffers based on MTU.", v2.6.33-rc1)
+  introduced dead code in the receive routines, which should be rewritten
+  anyways by the admission of the author himself, see the comment above
+  qlge_build_rx_skb(). That function is now used exclusively to handle packets
+  that underwent header splitting but it still contains code to handle non
+  split cases.
+* truesize accounting is incorrect (ex: a 9000B frame has skb->truesize 10280
+  while containing two frags of order-1 allocations, ie. >16K)
+* while in that area, using two 8k buffers to store one 9k frame is a poor
+  choice of buffer size.
+* in the "chain of large buffers" case, the driver uses an skb allocated with
+  head room but only puts data in the frags.
+* rename "rx" queues to "completion" queues. Calling tx completion queues "rx
+  queues" is confusing.
+* struct rx_ring is used for rx and tx completions, with some members relevant
+  to one case only
+* the flow control implementation in firmware is buggy (sends a flood of pause
+  frames, resets the link, device and driver buffer queues become

drivers/staging/qlge/TODO line 28

Quoted 10 lines
drivers/staging/qlge/TODO new file +10 -0
+  desynchronized), disable it by default
+* the driver has a habit of using runtime checks where compile time checks are
+  possible (ex. qlge_free_rx_buffers())
+* reorder struct members to avoid holes if it doesn't impact performance
+* use better-suited apis (ex. use pci_iomap() instead of ioremap())
+* remove duplicate and useless comments
+* fix weird line wrapping (all over, ex. the qlge_set_routing_reg() calls in
+  qlge_set_multicast_list()).
+* remove useless casts (ex. memset((void *)mac_iocb_ptr, ...))
+* fix checkpatch issues

In looking at this again, are you sure you all want this in the tree? I'm glad to take the revert but ONLY if you are willing to then take a "move this to drivers/net/" patch for the code as well, WITH an actual maintainer and developer who is willing to do the work for this code.

In all the years that this has been in the staging tree, the listed maintainers have not been active at all from what I can remember, and obviously the above list of "things to fix" have not really been worked on at all.

So why should it be added back? I understand there is at least one reported user, but for drivers in the staging tree, that's not a good reason to keep them around if there is not an actual maintainer that is willing to do the work.

Quoted 5 lines

Which reminds me, we should probably sweep the drivers/staging/ tree again to see what we can remove given a lack of real development. Normally we do that every other year or so, and this driver would fall into the "no one is doing anything with it" category and should be dropped.

Thank you for revisiting this topic. I agree with you that it's better not to add orphaned code back into the kernel. I didn't want users to be left out in the cold by the removal of the driver, so I just created a dkms package as a fallback:
https://github.com/gobenji/qlge-dkms

People who want to use qlge with the latest kernel can use that package. Since the driver code is not mainline quality and there isn't much willingness to invest in its improvement, I think it's fitting that the code lives out of tree. Of course, if somebody takes ownership of the code and substantially improves it, they can submit it back to netdev.