2023-09-12 23:48:03

by Andrew Lunn

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

> 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.

Andrew


2023-09-13 00:46:37

by Maxime Chevallier

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

Hello,

On Tue, 12 Sep 2023 17:41:31 +0200
Andrew Lunn <[email protected]> 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