Network interface names
![]()
RoCE devices on SUSE Linux® Enterprise Server might have alias network interface names, different from the eth convention, that persist across reboots and updates of the adapter hardware.
These network interface names can be based on the devices' user-defined identifiers (UIDs) or on their function IDs (FIDs). Which of the two naming schemes is used depends on whether UID uniqueness checking is enabled for your environment.
Read the uid_is_unique attribute for any PCIe device that is available to your Linux instance to find out which naming scheme applies.
# cat /sys/bus/pci/devices/0000:00:00.0/uid_is_unique 1
If the value is 1, UID uniqueness checking is enabled, and the network interface names are based on UIDs. For any other value, UID uniqueness checking is not enabled, and the network interface names are based on FIDs.
Network interface names based on UIDs
For Linux in LPAR mode, UIDs are specified in the PCIe device definition for RoCE adapters in the hardware configuration (IOCDS). UIDs are available only if supported by the hardware and if the LPAR is enabled for UID uniqueness checking.
- For Linux on LinuxONE in DPM mode.
- For Linux on IBM® Z as a KVM guest.
- For Linux as a z/VM® guest.
- For Linux in LPAR mode, if the LPAR is in DPM mode.
For Linux in classical LPAR mode, UID uniqueness checking must be enabled through an LPAR setting in the IOCDS. With UID uniqueness checking enabled, UIDs are generated for any RoCE adapters for which none are assigned explicitly.
UIDs need not be unique across LPARs. For example, you can deliberately assign the same UID for the same physical RoCE device to simplify migrations between the LPARs. You can also assign the same UID to RoCE devices that connect to a specific physical or virtual LAN from different LPARs.
eno16 On SUSE Linux Enterprise Server, this name is displayed as an alias to the
eth<n> name. If the interface name is eth1, listing it might
show:eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state ...
link/ether 22:ed:43:07:b8:f9 brd ff:ff:ff:ff:ff:ff
altname enP8p0s0
altname eno16
altname ens138
Interface names based on function IDs
FIDs are associated with the slots at which RoCE adapters are plugged. Depending on your environment, you can specify FIDs in the IOCDs or they are generated for you. In contrast to UIDs, FIDs are unique across LPARs on the same IBM Z or LinuxONE hardware.
ens26. On SUSE Linux Enterprise Server, this name is displayed as an alias to the
eth<n> name. If the interface name is eth2, listing it might
show:eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state ...
link/ether ... brd ...
altname enP8p0s0
altname eno8
altname ens26