Skip to contentSkip to conversation

s390/net: Remove NETIUCV device driver

PATCH Applied Alexandra Winter 3 participants 3 messages Jul 15, 2025 – Jul 17, 2025

Subsystems (6)
lore
Share & tools
lore

Alexandra Winter

author maintainer
#0 lore raw

PATCH 1/1 s390/net: Remove NETIUCV device driver

From: Nagamani PV <[email protected]>

The netiucv driver creates TCP/IP interfaces over IUCV between Linux guests on z/VM and other z/VM entities.

Rationale for removal:
- NETIUCV connections are only supported for compatibility with earlier versions and not to be used for new network setups, since at least Linux kernel 4.0.
- No known active users, use cases, or product dependencies
- The driver is no longer relevant for z/VM networking; preferred methods include:
* Device pass-through (e.g., OSA, RoCE)
* z/VM Virtual Switch (VSWITCH)

The IUCV mechanism itself remains supported and is actively used via AF_IUCV, hvc_iucv, and smsg_iucv.

---
 Documentation/arch/s390/driver-model.rst |   21 -
 drivers/s390/net/Kconfig                 |   12 -
 drivers/s390/net/Makefile                |    1 -
 drivers/s390/net/netiucv.c               | 2083 ----------------------
 4 files changed, 2117 deletions(-)
 delete mode 100644 drivers/s390/net/netiucv.c
Documentation/arch/s390/driver-model.rst +0 -21
index ad18f129fb0b..e7488f02bb78 100644
@@ -305,24 +305,3 @@ xpram shows up under devices/system/ as 'xpram'.
 
 For each cpu, a directory is created under devices/system/cpu/. Each cpu has an
 attribute 'online' which can be 0 or 1.
-
-
-4. Other devices
-----------------
-
-4.1 Netiucv
------------
-
-The netiucv driver creates an attribute 'connection' under
-bus/iucv/drivers/netiucv. Piping to this attribute creates a new netiucv
-connection to the specified host.
-
-Netiucv connections show up under devices/iucv/ as "netiucv<ifnum>". The interface
-number is assigned sequentially to the connections defined via the 'connection'
-attribute.
-
-user
-    - shows the connection partner.
-
-buffer
-    - maximum buffer size. Pipe to it to change buffer size.
drivers/s390/net/Kconfig +0 -12
index 9eb9e3c49f81..2b43f6f28362 100644
@@ -17,18 +17,6 @@ config CTCM
 	  To compile into the kernel, choose Y.
 	  If you do not need any channel-to-channel connection, choose N.
 
-config NETIUCV
-	def_tristate m
-	prompt "IUCV network device support (VM only)"
-	depends on IUCV && NETDEVICES
-	help
-	  Select this option if you want to use inter-user communication
-	  vehicle networking under VM or VIF. It enables a fast communication
-	  link between VM guests. Using ifconfig a point-to-point connection
-	  can be established to the Linux on IBM System z
-	  running on the other VM guest. To compile as a module, choose M.
-	  The module name is netiucv. If unsure, choose Y.
-
 config SMSGIUCV
 	def_tristate m
 	prompt "IUCV special message support (VM only)"
drivers/s390/net/Makefile +0 -1
index b5aaba290127..537514cc52fb 100644
@@ -5,7 +5,6 @@
 
 ctcm-y += ctcm_main.o ctcm_fsms.o ctcm_mpc.o ctcm_sysfs.o ctcm_dbug.o
 obj-$(CONFIG_CTCM) += ctcm.o fsm.o
-obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
 obj-$(CONFIG_SMSGIUCV) += smsgiucv.o
 obj-$(CONFIG_SMSGIUCV_EVENT) += smsgiucv_app.o
 qeth-y += qeth_core_sys.o qeth_core_main.o qeth_core_mpc.o qeth_ethtool.o
drivers/s390/net/netiucv.c deleted +0 -2083

2,083 lines not on this page · raw message

Signature · 1 line
2.48.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 21 lines · Alexandra Winter

From: Nagamani PV <[email protected]>

The netiucv driver creates TCP/IP interfaces over IUCV between Linux guests on z/VM and other z/VM entities.

Rationale for removal:
- NETIUCV connections are only supported for compatibility with earlier versions and not to be used for new network setups, since at least Linux kernel 4.0.
- No known active users, use cases, or product dependencies
- The driver is no longer relevant for z/VM networking; preferred methods include:
* Device pass-through (e.g., OSA, RoCE)
* z/VM Virtual Switch (VSWITCH)

The IUCV mechanism itself remains supported and is actively used via AF_IUCV, hvc_iucv, and smsg_iucv.

Quoted 7 lines
---
 Documentation/arch/s390/driver-model.rst |   21 -
 drivers/s390/net/Kconfig                 |   12 -
 drivers/s390/net/Makefile                |    1 -
 drivers/s390/net/netiucv.c               | 2083 ----------------------
 4 files changed, 2117 deletions(-)
 delete mode 100644 drivers/s390/net/netiucv.c

Less is more :)

#2 lore raw
In reply to Alexandra Winter
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 15 lines · On Tue, 15 Jul 2025 09:42:10 +0200 you wrote:

From: Nagamani PV <[email protected]>

The netiucv driver creates TCP/IP interfaces over IUCV between Linux guests on z/VM and other z/VM entities.

Rationale for removal:
- NETIUCV connections are only supported for compatibility with earlier versions and not to be used for new network setups, since at least Linux kernel 4.0.
- No known active users, use cases, or product dependencies
- The driver is no longer relevant for z/VM networking; preferred methods include:
* Device pass-through (e.g., OSA, RoCE)
* z/VM Virtual Switch (VSWITCH)

Quoted 1 line

[...]

Here is the summary with links:
- [net-next] s390/net: Remove NETIUCV device driver

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

You are awesome, thank you!

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