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
I recently removed the GPU from my system, and noticed that my network interface names changed (enp4s1 -> enp3s1 and enp6s0 -> enp5s0 in my case). I know I'm late to the game, since this issue is similar to #563 but I'm also proposing a portable solution.
This is my pci configuration with a dedicated GPU (network interfaces enp4s1 and enp6s0):
As is obvious from the lspci output, the bus numbers of all devices are shifted by 1 if the dedicated GPU is installed, thus explaining the changed interface names. One thing however remains constant: the BDF of the PCI root ports: 00:1c.4 for enp{5,6}s0, and 00:1b.2 for enp{3,4}s1, so my proposal is this:
If the interface names used some form of notation relative to their respective PCI root ports, wouldn't this be a more elegant solution (aside from the resulting interface name that is, but heh, it's more predictable)? For example, enr28f4p0s0 could be used to denote a network interface behind the PCI root port with slot 28 (==0x1c) and function 4. The p0 part in this case is to be interpreted relative to the bridge's secondary bus, i.e. if the bridge is configured with a secondary bus of 5, r28f4p0 is the same as p5.
Please comment.
Regards
Joseph
The text was updated successfully, but these errors were encountered:
Let's close this. The bug is 7 years old, and this is not really actionable to us anyway: if firmware re-numerates supposedly stable slot ids, there's nothing we can do. please complain to manufacturer.
Submission type
Used distribution
Bugreport
I recently removed the GPU from my system, and noticed that my network interface names changed (
enp4s1
->enp3s1
andenp6s0
->enp5s0
in my case). I know I'm late to the game, since this issue is similar to #563 but I'm also proposing a portable solution.This is my pci configuration with a dedicated GPU (network interfaces
enp4s1
andenp6s0
):And this is the same configuration with the dedicated GPU removed (
enp3s1
andenp5s0
):As is obvious from the
lspci
output, the bus numbers of all devices are shifted by 1 if the dedicated GPU is installed, thus explaining the changed interface names. One thing however remains constant: the BDF of the PCI root ports:00:1c.4
forenp{5,6}s0
, and00:1b.2
forenp{3,4}s1
, so my proposal is this:If the interface names used some form of notation relative to their respective PCI root ports, wouldn't this be a more elegant solution (aside from the resulting interface name that is, but heh, it's more predictable)? For example,
enr28f4p0s0
could be used to denote a network interface behind the PCI root port with slot28
(==0x1c
) and function4
. Thep0
part in this case is to be interpreted relative to the bridge's secondary bus, i.e. if the bridge is configured with a secondary bus of5
,r28f4p0
is the same asp5
.Please comment.
Regards
Joseph
The text was updated successfully, but these errors were encountered: