You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result should be parent interface renamed to lan and VF interfaced created, named after parent interface, i.e. lanv0.
Unexpected behaviour you saw
The parent interface name was changed and an additional VF was created. However, the VF's interface name remained unchanged, in this case enp2s0f1v0. Considering that the interface rename rule is applied first, followed by SR-IOV statement, one would expect that the VF would be consistently named after the renamed parent interface.
At the very least, if this isn't technically feasible, a Name option in [SR-IOV] would also do the job.
Steps to reproduce the problem
Add a .link file that both renames parent interface and adds VFs to it. Notice that while the parent interface name changes, the VF names are generated according to the default systemd predictable naming scheme.
Additional program output to the terminal or log subsystem illustrating the issue
No response
The text was updated successfully, but these errors were encountered:
wrobelda
changed the title
After renaming parent interface, shouldn't VFs also get renamed accordingly?
After setting PF to an explicit interface name, shouldn't VFs use it to generate their names accordingly?
May 15, 2024
For completeness, I also tested by moving the [SR-IOV] section to a separate file with a name having a higher numeric value, which should get it processed after the parent interface renaming rule:
systemd version the issue has been seen with
252
Used distribution
Proxmox 8.2.2
Linux kernel version used
6.8.4-2-pve
CPU architectures issue was seen on
x86_64
Component
systemd-udevd
Expected behaviour you didn't see
I have an added an .link file that sets the network interface name explicitly and enables SR-IOV functions:
The result should be parent interface renamed to
lan
and VF interfaced created, named after parent interface, i.e.lanv0
.Unexpected behaviour you saw
The parent interface name was changed and an additional VF was created. However, the VF's interface name remained unchanged, in this case
enp2s0f1v0
. Considering that the interface rename rule is applied first, followed by SR-IOV statement, one would expect that the VF would be consistently named after the renamed parent interface.At the very least, if this isn't technically feasible, a
Name
option in[SR-IOV]
would also do the job.Steps to reproduce the problem
Add a .link file that both renames parent interface and adds VFs to it. Notice that while the parent interface name changes, the VF names are generated according to the default systemd predictable naming scheme.
Additional program output to the terminal or log subsystem illustrating the issue
No response
The text was updated successfully, but these errors were encountered: