Switching the discipline of a qeth device

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest

To switch the discipline of a device, the network interface must be shut down and the device must be offline.

Some devices can only run in one discipline, see Layer 2 and layer 3. The device driver rejects any request to switch the discipline of these devices.

If the new discipline is accepted by the device driver, the old network interface is deleted. When the new discipline is set online the first time, the new network interface is created.