diff options
author | Stuart Hayes <stuart_hayes@dell.com> | 2018-01-17 20:31:55 +0100 |
---|---|---|
committer | Stuart Hayes <stuart_hayes@dell.com> | 2018-03-26 20:00:43 +0200 |
commit | 609948c7043a40008b8299529c978ed8e11de8f6 (patch) | |
tree | 3220f3286c1191e740220f5dbb1ccbeb7c398aa2 /NEWS | |
parent | udev: net_id: search parent devices for PCI slot number (diff) | |
download | systemd-609948c7043a40008b8299529c978ed8e11de8f6.tar.xz systemd-609948c7043a40008b8299529c978ed8e11de8f6.zip |
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
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions