Skip to contentSkip to conversation

net: ethernet: neterion: s2io: remove unused driver

PATCH Applied Ethan Nelson-Moore 4 participants 7 messages Jan 26 – Jan 29

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

PATCH v2 1/1 net: ethernet: neterion: s2io: remove unused driver

The s2io driver supports Exar (formerly Neterion and S2io) PCI-X 10 Gigabit Ethernet cards. Hardware supporting PCI-X has not been manufactured in years. On x86, it was quickly replaced by PCIe. While it stuck around longer on POWER hardware, the last POWER hardware to support it was POWER7, which is not supported by ppc64le Linux distributions. The last supported mainstream ppc64 Linux distribution was RHEL 7; while it is still supported under ELS, ELS is only available for x86 and IBM Z. It is possible to use many PCI-X cards in standard PCI slots (which are still available on new motherboards), but it does not make sense to do so for 10 Gigabit Ethernet because the maximum bandwidth of standard PCI is only 1067 Mbps. It is therefore highly unlikely that this driver is still being used. Remove the driver, and move the former maintainer to the CREDITS file (restoring credit for the vxge driver, which was removed in commit f05643a0f60b ("eth: remove neterion/vxge").

---
Changes in v2:
Retain PCI vendor/device ID definitions to avoid future merge conflicts, as pointed out by Bjorn Helgaas and Christophe Leroy.

 CREDITS                                       |    4 +
 Documentation/.renames.txt                    |    1 -
 Documentation/PCI/pci-error-recovery.rst      |    1 -
 .../device_drivers/ethernet/index.rst         |    1 -
 .../device_drivers/ethernet/neterion/s2io.rst |  196 -
 MAINTAINERS                                   |    7 -
 arch/mips/configs/loongson2k_defconfig        |    1 -
 arch/mips/configs/mtx1_defconfig              |    1 -
 arch/powerpc/configs/powernv_defconfig        |    1 -
 arch/powerpc/configs/ppc64_defconfig          |    1 -
 arch/powerpc/configs/ppc6xx_defconfig         |    1 -
 arch/powerpc/configs/skiroot_defconfig        |    1 -
 arch/s390/configs/debug_defconfig             |    1 -
 arch/s390/configs/defconfig                   |    1 -
 drivers/net/ethernet/Kconfig                  |    1 -
 drivers/net/ethernet/Makefile                 |    1 -
 drivers/net/ethernet/neterion/Kconfig         |   35 -
 drivers/net/ethernet/neterion/Makefile        |    6 -
 drivers/net/ethernet/neterion/s2io-regs.h     |  958 --
 drivers/net/ethernet/neterion/s2io.c          | 8572 -----------------
 drivers/net/ethernet/neterion/s2io.h          | 1124 ---
 21 files changed, 4 insertions(+), 10911 deletions(-)
 delete mode 100644 Documentation/networking/device_drivers/ethernet/neterion/s2io.rst
 delete mode 100644 drivers/net/ethernet/neterion/Kconfig
 delete mode 100644 drivers/net/ethernet/neterion/Makefile
 delete mode 100644 drivers/net/ethernet/neterion/s2io-regs.h
 delete mode 100644 drivers/net/ethernet/neterion/s2io.c
 delete mode 100644 drivers/net/ethernet/neterion/s2io.h
CREDITS +4 -0
index 680bc55024a9..04ffe036828c 100644
@@ -2659,6 +2659,10 @@ S: 3404 E. Harmony Road
 S: Fort Collins, CO 80528
 S: USA
 
+N: Jon Mason
+E: [email protected]
+D: Neterion 10GbE drivers (s2io/vxge)
+
 N: Torben Mathiasen
 E: [email protected]
 E: [email protected]
Documentation/.renames.txt +0 -1
index c0bd5d3dc8b9..a37d68471d50 100644
@@ -819,7 +819,6 @@ networking/device_drivers/intel/ixgbe networking/device_drivers/ethernet/intel/i
 networking/device_drivers/intel/ixgbevf networking/device_drivers/ethernet/intel/ixgbevf
 networking/device_drivers/marvell/octeontx2 networking/device_drivers/ethernet/marvell/octeontx2
 networking/device_drivers/microsoft/netvsc networking/device_drivers/ethernet/microsoft/netvsc
-networking/device_drivers/neterion/s2io networking/device_drivers/ethernet/neterion/s2io
 networking/device_drivers/netronome/nfp networking/device_drivers/ethernet/netronome/nfp
 networking/device_drivers/pensando/ionic networking/device_drivers/ethernet/pensando/ionic
 networking/device_drivers/qualcomm/rmnet networking/device_drivers/cellular/qualcomm/rmnet
Documentation/PCI/pci-error-recovery.rst +0 -1
index 43bc4e3665b4..43838723fde9 100644
@@ -460,7 +460,6 @@ That is, the recovery API only requires that:
    - drivers/net/e1000e
    - drivers/net/ixgbe
    - drivers/net/cxgb3
-   - drivers/net/s2io.c
 
    The cor_error_detected() callback is invoked in handle_error_source() when
    the error severity is "correctable". The callback is optional and allows
Documentation/networking/device_drivers/ethernet/index.rst +0 -1
index bcc02355f828..5e8fc3d6d741 100644
@@ -48,7 +48,6 @@ Contents:
    meta/fbnic
    microsoft/netvsc
    mucse/rnpgbe
-   neterion/s2io
    netronome/nfp
    pensando/ionic
    pensando/ionic_rdma
Documentation/networking/device_drivers/ethernet/neterion/s2io.rst deleted +0 -196

196 lines not on this page · raw message

MAINTAINERS +0 -7
index 92768bceb929..0a0b0edbf071 100644
@@ -18030,13 +18030,6 @@ L:	[email protected]
 S:	Maintained
 F:	net/sched/sch_netem.c
 
-NETERION 10GbE DRIVERS (s2io)
-M:	Jon Mason <[email protected]>
-L:	[email protected]
-S:	Maintained
-F:	Documentation/networking/device_drivers/ethernet/neterion/s2io.rst
-F:	drivers/net/ethernet/neterion/
-
 NETFILTER
 M:	Pablo Neira Ayuso <[email protected]>
 M:	Florian Westphal <[email protected]>
arch/mips/configs/loongson2k_defconfig +0 -1
index aec1fd1902eb..a5c50b63d478 100644
@@ -161,7 +161,6 @@ CONFIG_IXGBE=y
 # CONFIG_NET_VENDOR_MICROSEMI is not set
 # CONFIG_NET_VENDOR_MYRI is not set
 # CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_NETERION is not set
 # CONFIG_NET_VENDOR_NETRONOME is not set
 # CONFIG_NET_VENDOR_NI is not set
 # CONFIG_NET_VENDOR_NVIDIA is not set
arch/mips/configs/mtx1_defconfig +0 -1
index 49dee536009f..77050ae3945f 100644
@@ -283,7 +283,6 @@ CONFIG_MYRI10GE=m
 CONFIG_FEALNX=m
 CONFIG_NATSEMI=m
 CONFIG_NS83820=m
-CONFIG_S2IO=m
 CONFIG_PCMCIA_AXNET=m
 CONFIG_NE2K_PCI=m
 CONFIG_PCMCIA_PCNET=m
arch/powerpc/configs/powernv_defconfig +0 -1
index bd4685612de6..9ac746cfb4be 100644
@@ -166,7 +166,6 @@ CONFIG_BNX2X=m
 # CONFIG_CAVIUM_PTP is not set
 CONFIG_CHELSIO_T1=m
 CONFIG_BE2NET=m
-CONFIG_S2IO=m
 CONFIG_E100=y
 CONFIG_E1000=y
 CONFIG_E1000E=y
arch/powerpc/configs/ppc64_defconfig +0 -1
index 2d92c11eea7e..f0d9b55cb26b 100644
@@ -221,7 +221,6 @@ CONFIG_IXGBE=m
 CONFIG_I40E=m
 CONFIG_MLX4_EN=m
 CONFIG_MYRI10GE=m
-CONFIG_S2IO=m
 CONFIG_PASEMI_MAC=y
 CONFIG_NETXEN_NIC=m
 CONFIG_SUNGEM=y
arch/powerpc/configs/ppc6xx_defconfig +0 -1
index 787d707f64a4..3c08f46f3d41 100644
@@ -434,7 +434,6 @@ CONFIG_ULI526X=m
 CONFIG_PCMCIA_XIRCOM=m
 CONFIG_DL2K=m
 CONFIG_SUNDANCE=m
-CONFIG_S2IO=m
 CONFIG_FEC_MPC52xx=m
 CONFIG_GIANFAR=m
 CONFIG_PCMCIA_FMVJ18X=m
arch/powerpc/configs/skiroot_defconfig +0 -1
index 2b71a6dc399e..f3d17a02659f 100644
@@ -160,7 +160,6 @@ CONFIG_MLX5_CORE_EN=y
 # CONFIG_NET_VENDOR_MICROSEMI is not set
 CONFIG_MYRI10GE=m
 # CONFIG_NET_VENDOR_NATSEMI is not set
-CONFIG_S2IO=m
 # CONFIG_NET_VENDOR_NETRONOME is not set
 # CONFIG_NET_VENDOR_NI is not set
 # CONFIG_NET_VENDOR_NVIDIA is not set
arch/s390/configs/debug_defconfig +0 -1
index 0713914b25b4..0973b830c868 100644
@@ -560,7 +560,6 @@ CONFIG_MLX5_SF=y
 # CONFIG_NET_VENDOR_MYRI is not set
 # CONFIG_NET_VENDOR_NI is not set
 # CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_NETERION is not set
 # CONFIG_NET_VENDOR_NETRONOME is not set
 # CONFIG_NET_VENDOR_NVIDIA is not set
 # CONFIG_NET_VENDOR_OKI is not set
arch/s390/configs/defconfig +0 -1
index c064e0cacc98..54ff5faf3541 100644
@@ -550,7 +550,6 @@ CONFIG_MLX5_SF=y
 # CONFIG_NET_VENDOR_MYRI is not set
 # CONFIG_NET_VENDOR_NI is not set
 # CONFIG_NET_VENDOR_NATSEMI is not set
-# CONFIG_NET_VENDOR_NETERION is not set
 # CONFIG_NET_VENDOR_NETRONOME is not set
 # CONFIG_NET_VENDOR_NVIDIA is not set
 # CONFIG_NET_VENDOR_OKI is not set
drivers/net/ethernet/Kconfig +0 -1
index 678beefe314a..aa7103e7f47f 100644
@@ -131,7 +131,6 @@ config FEALNX
 
 source "drivers/net/ethernet/ni/Kconfig"
 source "drivers/net/ethernet/natsemi/Kconfig"
-source "drivers/net/ethernet/neterion/Kconfig"
 source "drivers/net/ethernet/netronome/Kconfig"
 source "drivers/net/ethernet/8390/Kconfig"
 source "drivers/net/ethernet/nvidia/Kconfig"
drivers/net/ethernet/Makefile +0 -1
index c9922628d8d6..6615a67a63d5 100644
@@ -68,7 +68,6 @@ obj-$(CONFIG_NET_VENDOR_MUCSE) += mucse/
 obj-$(CONFIG_NET_VENDOR_MYRI) += myricom/
 obj-$(CONFIG_FEALNX) += fealnx.o
 obj-$(CONFIG_NET_VENDOR_NATSEMI) += natsemi/
-obj-$(CONFIG_NET_VENDOR_NETERION) += neterion/
 obj-$(CONFIG_NET_VENDOR_NETRONOME) += netronome/
 obj-$(CONFIG_NET_VENDOR_NI) += ni/
 obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
drivers/net/ethernet/neterion/Kconfig deleted +0 -35
deleted file mode 100644
index 09a89e72f904..000000000000
@@ -1,35 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-#
-# Exar device configuration
-#
-
-config NET_VENDOR_NETERION
-	bool "Neterion (Exar) devices"
-	default y
-	depends on PCI
-	help
-	  If you have a network (Ethernet) card belonging to this class, say Y.
-
-	  Note that the answer to this question doesn't directly affect the
-	  kernel: saying N will just cause the configurator to skip all
-	  the questions about Neterion/Exar cards. If you say Y, you will be
-	  asked for your specific card in the following questions.
-
-if NET_VENDOR_NETERION
-
-config S2IO
-	tristate "Neterion (Exar) Xframe 10Gb Ethernet Adapter"
-	depends on PCI
-	help
-	  This driver supports Exar Corp's Xframe Series 10Gb Ethernet Adapters.
-	  These were originally released from S2IO, which renamed itself
-	  Neterion.  So, the adapters might be labeled as either one, depending
-	  on its age.
-
-	  More specific information on configuring the driver is in
-	  <file:Documentation/networking/device_drivers/ethernet/neterion/s2io.rst>.
-
-	  To compile this driver as a module, choose M here. The module
-	  will be called s2io.
-
-endif # NET_VENDOR_NETERION
drivers/net/ethernet/neterion/Makefile deleted +0 -6
deleted file mode 100644
index de98b4e6eff9..000000000000
@@ -1,6 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-#
-# Makefile for the Exar network device drivers.
-#
-
-obj-$(CONFIG_S2IO) += s2io.o
drivers/net/ethernet/neterion/s2io-regs.h deleted +0 -958

958 lines not on this page · raw message

drivers/net/ethernet/neterion/s2io.c deleted +0 -8572

1,691 lines not on this page · raw message

drivers/net/ethernet/neterion/s2io.h deleted +0 -1124

1,124 lines not on this page · raw message

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

Signature · 1 line
2.43.0

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

#1 lore raw
Quoted 11 lines · Ethan Nelson-Moore

The s2io driver supports Exar (formerly Neterion and S2io) PCI-X 10 Gigabit Ethernet cards. Hardware supporting PCI-X has not been manufactured in years. On x86, it was quickly replaced by PCIe. While it stuck around longer on POWER hardware, the last POWER hardware to support it was POWER7, which is not supported by ppc64le Linux distributions. The last supported mainstream ppc64 Linux distribution was RHEL 7; while it is still supported under ELS, ELS is only available for x86 and IBM Z. It is possible to use many PCI-X cards in standard PCI slots (which are still available on new motherboards), but it does not make sense to do so for 10 Gigabit Ethernet because the maximum bandwidth of standard PCI is only 1067 Mbps. It is therefore

However 64-bit PCI at 66MHz will let you reach 4 times as much. Also
PCI-X can be bridged from PCIe or HT.

Quoted 4 lines

highly unlikely that this driver is still being used. Remove the driver, and move the former maintainer to the CREDITS file (restoring credit for the vxge driver, which was removed in commit f05643a0f60b ("eth: remove neterion/vxge").

How do you know it's not used? What's the gain from removing a driver
unless say it's broken and does not build?

Maciej

maintainer
#2 lore raw
Quoted 6 lines · On Tue, 27 Jan 2026 01:19:34 +0000 (GMT) Maciej W. Rozycki wrote:
Quoted 4 lines

highly unlikely that this driver is still being used. Remove the driver, and move the former maintainer to the CREDITS file (restoring credit for the vxge driver, which was removed in commit f05643a0f60b ("eth: remove neterion/vxge").

How do you know it's not used?

Hard to prove a negative and whatnot.

We deleted the vxge which I think(?) was for a newer version of this HW 3+ years ago and nobody complained.

Quoted 2 lines

What's the gain from removing a driver unless say it's broken and does not build?

People keep sending cleanups and fixes for these old drivers. It takes time to review that stuff.

#3 lore raw
Quoted 2 lines · Jakub Kicinski

We deleted the vxge which I think(?) was for a newer version of this HW 3+ years ago and nobody complained.

Yes, it was for the newer PCIe version of this hardware. Since no one complained about that (unlike when fealnx and sundance were removed and then restored on request), it's even less likely someone is using the PCI-X version. FWIW, 64-bit PCI and 66MHz PCI are even rarer than PCI-X, so there's basically no way to use this card with reasonable performance nowadays.

Quoted 1 line · On Tue, 27 Jan 2026 01:19:34 +0000 (GMT) Maciej W. Rozycki wrote:

[...]

Quoted 2 lines
Quoted 2 lines

What's the gain from removing a driver unless say it's broken and does not build?

It very well might be broken. When vxge was removed it emerged that someone had reported it as having last worked in 4.1 and broken somewhere between there and 4.4 - see:
https://bugzilla.kernel.org/show_bug.cgi?id=197881

Ethan

#4 lore raw
Quoted 8 lines · Ethan Nelson-Moore
Quoted 2 lines

We deleted the vxge which I think(?) was for a newer version of this HW 3+ years ago and nobody complained.

Yes, it was for the newer PCIe version of this hardware. Since no one complained about that (unlike when fealnx and sundance were removed and then restored on request), it's even less likely someone is using the PCI-X version. FWIW, 64-bit PCI and 66MHz PCI are even rarer than PCI-X, so there's basically no way to use this card with reasonable performance nowadays.

Well, I have a system with 64-bit/66MHz 3.3V PCI slots, so I could use
the network card right away if I had one (I prefer FDDI though, works nicely for my intranet). Something being rare does not mean no one has a use for it.

Quoted 6 lines
Quoted 2 lines
Quoted 2 lines

What's the gain from removing a driver unless say it's broken and does not build?

It very well might be broken. When vxge was removed it emerged that someone had reported it as having last worked in 4.1 and broken somewhere between there and 4.4 - see:
https://bugzilla.kernel.org/show_bug.cgi?id=197881

Now, that's surely a good argument in favour to removal, although a
single report might be too little, as it could be an odd combination of the system and the option rather than the driver being outright broken. In any case I think it should be mentioned in the commit description.

Maciej

#5 lore raw
In reply to Jakub Kicinski
Quoted 11 lines · Jakub Kicinski
Quoted 6 lines
Quoted 4 lines

highly unlikely that this driver is still being used. Remove the driver, and move the former maintainer to the CREDITS file (restoring credit for the vxge driver, which was removed in commit f05643a0f60b ("eth: remove neterion/vxge").

How do you know it's not used?

Hard to prove a negative and whatnot.

We deleted the vxge which I think(?) was for a newer version of this HW 3+ years ago and nobody complained.

It may or may not mean anything. Overall I think it would be fair to
have a deprecation period of say a year with the affected code guarded with CONFIG_DEPRECATED, giving a chance for people downstream to notice and act. That seems to work for the other projects I've been involved with (GNU toolchain components and the policy for target removal).

Quoted 5 lines
Quoted 2 lines

What's the gain from removing a driver unless say it's broken and does not build?

People keep sending cleanups and fixes for these old drivers. It takes time to review that stuff.

Fair point, however the driver has a maintainer listed who should be
taking care of that. I can see he was cc'd on v1 but not this revision, so does that mean the address bounces? If so, it should be stated in an updated change description, and that would certainly be a good reason to first deprecate a driver and if no one steps up, then discard it.

Maciej

#6 lore raw
In reply to Ethan Nelson-Moore
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 16 lines · On Sun, 25 Jan 2026 19:08:07 -0800 you wrote:

The s2io driver supports Exar (formerly Neterion and S2io) PCI-X 10 Gigabit Ethernet cards. Hardware supporting PCI-X has not been manufactured in years. On x86, it was quickly replaced by PCIe. While it stuck around longer on POWER hardware, the last POWER hardware to support it was POWER7, which is not supported by ppc64le Linux distributions. The last supported mainstream ppc64 Linux distribution was RHEL 7; while it is still supported under ELS, ELS is only available for x86 and IBM Z. It is possible to use many PCI-X cards in standard PCI slots (which are still available on new motherboards), but it does not make sense to do so for 10 Gigabit Ethernet because the maximum bandwidth of standard PCI is only 1067 Mbps. It is therefore highly unlikely that this driver is still being used. Remove the driver, and move the former maintainer to the CREDITS file (restoring credit for the vxge driver, which was removed in commit f05643a0f60b ("eth: remove neterion/vxge").

Quoted 1 line

[...]

Here is the summary with links:
- [net-next,v2] net: ethernet: neterion: s2io: remove unused driver

    https://git.kernel.org/netdev/net-next/c/aba0138eb7d7

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html