Re: [RFC PATCH net-next 6/7] net: ethtool: add a netlink command to get PHY information

From: Jakub Kicinski
Date: Fri Sep 08 2023 - 11:42:33 EST


On Thu, 7 Sep 2023 11:24:04 +0200 Maxime Chevallier wrote:
> +enum phy_upstream_type {
> + PHY_UPSTREAM_MAC,
> + PHY_UPSTREAM_SFP,
> + PHY_UPSTREAM_PHY,
> +};

Would be good to define the enum in the YAML spec, too.
That way YNL users can auto-magically see strings for the values.