Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

From: Thomas Petazzoni
Date: Wed Aug 24 2016 - 14:16:30 EST


Hello,

On Wed, 24 Aug 2016 14:07:27 -0400, Lennart Sorensen wrote:

> > The nice thing about having the order in the dtb I thought was that it
> > wont ever change.
>
> I wonder, if someone was to build a box with this cpu, and add a PCIe
> network device, which order would they get probed in? Any chance the
> PCIe could grab eth0 before the mvneta devices get probed?

Depends on the network driver I believe. But with an e1000e NIC plugged
in a PCIe slot, it indeed gets assigned as eth0, and the internal
mvneta devices get eth1, eth2, etc.

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com