mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-14 19:24:13 +03:00
Stuart Hayes
609948c704
udev: net_id: Improve predictable names for SR-IOV virtual devices
With PCI SR-IOV, a number of virtual network devices can be enabled, all of which share the same physical network device. Currently, udev generates names for SR-IOV virtual functions as if they were independent network devices. With this change, the predictable network device naming code will check if a network device is an SR-IOV virtual device, and will generate a name based on the physical PCI device plus a "v%u" suffix. This should improve readability and predictability of device names. Here is an example of how this change would affect naming: before patch | after patch ----------------------------- eno1 | eno1 onboard NIC, physical function enp101s0f0 | eno1v0 onboard NIC, SR-IOV virtual func 0 enp101s0f1 | eno1v1 onboard NIC, SR-IOV virtual func 1
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.
Description
Languages
C
89.4%
Python
5.8%
Shell
2.1%
Meson
1.3%
HTML
0.9%
Other
0.4%