Re: [RFC PATCH net-next 1/7] net: phy: introduce phy numbering and phy namespaces

From: Florian Fainelli
Date: Tue Sep 12 2023 - 13:08:38 EST


On 9/12/23 09:10, Maxime Chevallier wrote:
Hello,

On Tue, 12 Sep 2023 17:41:31 +0200
Andrew Lunn <andrew@xxxxxxx> wrote:

Introduce a numbering scheme allowing to enumerate PHY devices that
belong to any netdev, which can in turn allow userspace to take more
precise decisions with regard to each PHY's configuration.

A minor point, and i know naming is hard, but i keep reading _ns_ and
think namespace, as in ip netns. Maybe we should think of something
other than ns.

Yeah that was the initial idea, to imply that the numering is
independent between netdevices... I thought about "phy_list", "phys",
"phy_devices" but none of that felt correct :(

How about phy_devices_list?
--
Florian