[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YQAzEXDGDC2EYxiq@lunn.ch>
Date: Tue, 27 Jul 2021 18:23:45 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Michael Walle <michael@...le.cc>
Cc: Marek BehĂșn <kabel@...nel.org>,
anthony.l.nguyen@...el.com, bigeasy@...utronix.de,
davem@...emloft.net, dvorax.fuxbrumer@...ux.intel.com,
f.fainelli@...il.com, hkallweit1@...il.com,
jacek.anaszewski@...il.com, kuba@...nel.org, kurt@...utronix.de,
linux-leds@...r.kernel.org, netdev@...r.kernel.org, pavel@....cz,
sasha.neftin@...el.com, vinicius.gomes@...el.com,
vitaly.lifshits@...el.com
Subject: Re: [PATCH net-next 5/5] igc: Export LEDs
> But I was actually referring to your "you see the leds in /sys/ of all
> the network adapters". That problem still persists, right?
It is not really a problem. You see all the PHYs in /sys. You see all
the PCI devices in /sys. Because these all have globally unique names,
it is not a problem.
What is not globally unique is interface names. Those are only unique
to a network name space. And /sys/class/net is network name space
aware. It only contains the interfaces in the current network name
space.
Andrew
Powered by blists - more mailing lists