Re: [systemd-devel] About stable network interface names

2017-06-10 Thread Greg KH
On Sat, Jun 10, 2017 at 09:08:17AM +0300, Andrei Borzenkov wrote: > 09.06.2017 23:42, Martin Wilck пишет: > > On Tue, 2017-06-06 at 21:40 +0300, Andrei Borzenkov wrote: > >> > >> Can device and function really change? My understanding is that > >> device > >> part is determined by bus physical

Re: [systemd-devel] About stable network interface names

2017-06-10 Thread Andrei Borzenkov
09.06.2017 23:42, Martin Wilck пишет: > On Tue, 2017-06-06 at 21:40 +0300, Andrei Borzenkov wrote: >> >> Can device and function really change? My understanding is that >> device >> part is determined by bus physical wiring and function by PCI card >> design; this leaves bus as volatile run-time

Re: [systemd-devel] About stable network interface names

2017-06-09 Thread Martin Wilck
On Tue, 2017-06-06 at 21:40 +0300, Andrei Borzenkov wrote: > > Can device and function really change? My understanding is that > device > part is determined by bus physical wiring and function by PCI card > design; this leaves bus as volatile run-time enumeration value. For PCIe, that's only

Re: [systemd-devel] About stable network interface names

2017-06-06 Thread Andrei Borzenkov
06.06.2017 16:20, Martin Wilck пишет: > As others have remarked already, PCI bus-device-function is subject to > change. > Can device and function really change? My understanding is that device part is determined by bus physical wiring and function by PCI card design; this leaves bus as volatile

Re: [systemd-devel] About stable network interface names

2017-06-06 Thread Martin Wilck
On Mon, 2017-05-29 at 02:35 +0200, Cesare Leonardi wrote: > I ask because I've done several tests, with different motherboards, > adding and removing PCI-express cards and that expectation was not > satisfied in many cases. > > For example, in one of those tests I initially had this setup: >

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Greg KH
On Mon, May 29, 2017 at 11:34:13AM +0200, Cesare Leonardi wrote: > On 29/05/2017 07:10, Greg KH wrote: > > Anyway, PCI can, and will sometimes, renumber it's devices on booting > > again, that's a known issue. It is rare, but as you have found out, > > will happen. So anything depending on PCI

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Reindl Harald
Am 29.05.2017 um 11:40 schrieb Lennart Poettering: Well, different naming strategies have different advantages and disadvantages. If you use the MAC address, then replacing hardware becomes harder, and you can't cover hardware that doesn't have fixed MAC addresses (or VMs) than KVM or

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Lennart Poettering
On Mon, 29.05.17 11:34, Cesare Leonardi (celeo...@gmail.com) wrote: > On 29/05/2017 07:10, Greg KH wrote: > > > For example, in one of those tests I initially had this setup: > > > Integrated NIC: enp9s0 > > > PCIE1 (x1): dual port ethernet card [enp3s0, enp4s0] > > > PCIE2 (x16): empty > > >

Re: [systemd-devel] About stable network interface names

2017-05-29 Thread Cesare Leonardi
On 29/05/2017 07:10, Greg KH wrote: For example, in one of those tests I initially had this setup: Integrated NIC: enp9s0 PCIE1 (x1): dual port ethernet card [enp3s0, enp4s0] PCIE2 (x16): empty PCIE3 (x1): dual port ethernet card [enp7s0, enp8s0] Then i inserted a SATA controller in the PCIE2

Re: [systemd-devel] About stable network interface names

2017-05-28 Thread Greg KH
On Mon, May 29, 2017 at 02:35:12AM +0200, Cesare Leonardi wrote: > I ask because I've done several tests, with different motherboards, adding > and removing PCI-express cards and that expectation was not satisfied in > many cases. > > For example, in one of those tests I initially had this setup: