Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1469642

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

From lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Newsgroups linux.kernel
Subject Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces
Date 2016-08-24 20:50 +0200
Message-ID <s9Lpn-69M-9@gated-at.bofh.it> (permalink)
References <s8APn-Of-1@gated-at.bofh.it> <s9HOO-3F4-23@gated-at.bofh.it> <s9Jnz-4PI-11@gated-at.bofh.it> <s9Jxg-4T1-17@gated-at.bofh.it> <s9K0h-5j8-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 24, 2016 at 01:10:23PM -0400, Lennart Sorensen wrote:
> Well certainly doing udevtrigger -n -v I see no ethernet devices (but
> lots of other things).  Looking in sysfs it is possible to dereive which
> ethX belongs to which port based on the directory names, but that's
> probably not the most convinient manner to deal with it.

OK, udev DOES work:

# udevadm info -p /sys/class/net/eth0
P: /devices/platform/soc/soc:internal-regs/f1034000.ethernet/net/eth0
E: DEVPATH=/devices/platform/soc/soc:internal-regs/f1034000.ethernet/net/eth0
E: IFINDEX=2
E: INTERFACE=eth0
E: SUBSYSTEM=net

# udevadm info -p /sys/class/net/eth1
P: /devices/platform/soc/soc:internal-regs/f1070000.ethernet/net/eth1
E: DEVPATH=/devices/platform/soc/soc:internal-regs/f1070000.ethernet/net/eth1
E: IFINDEX=3
E: INTERFACE=eth1
E: SUBSYSTEM=net

So it isn't hopeless.

-- 
Len Sorensen

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2016-08-21 15:20 +0200
  Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-08-24 17:00 +0200
    Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 18:40 +0200
      Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-08-24 18:50 +0200
        Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 19:20 +0200
          Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 20:50 +0200
    Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2016-08-24 19:20 +0200
      Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 20:10 +0200
        Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-08-24 20:20 +0200
          Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 20:30 +0200
            Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-08-24 22:10 +0200
              Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-24 23:00 +0200
      Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2016-08-24 20:50 +0200
        Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2016-08-24 22:50 +0200
          Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Jason Cooper <jason@lakedaemon.net> - 2016-08-24 23:50 +0200
            Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2016-08-25 09:40 +0200
              Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2016-08-25 21:50 +0200
              Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-08-26 10:50 +0200
                Re: [Regression?] Commit cb4f71c429 deliberately changes order of  network interfaces Ralph Sennhauser <ralph.sennhauser@gmail.com> - 2016-08-26 12:40 +0200

csiph-web