mirror of
https://github.com/systemd/systemd.git
synced 2025-02-01 09:47:35 +03:00
Arseny Maslennikov
a0d415da3a
udev: Disable HW-address-based naming for IB NICs
An InfiniBand network address is 20 bytes long. Only the least significant 8 bytes can be interpreted as a persistent hardware unit identifier; the other 12 are transiently derived at runtime from metadata specific to the protocol stack. However, since the network interface name length is hard-capped by IFNAMSIZ at 16 chars and the 2-byte type prefix with '\0' at the end leave us only at 13, we cannot squeeze a descriptive representation of a HW address into an interface name. Thus, it makes the most sense to drop the scheme for IPoIB interfaces entirely. Currently udev just gets confused and does what it has been taught to do: fetches the first six bytes and puts them into a permanent device attribute.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%