Re: [RFC PATCH net-next 6/7] net: ethtool: add a netlink command to get PHY information
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-09-08 15:42:33
Also in:
lkml
From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-09-08 15:42:33
Also in:
lkml
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.