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

From: Maxime Chevallier
Date: Tue Sep 12 2023 - 12:10:56 EST


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 :(

Any idea here would be welcome :D

Maxime

> Andrew