diff options
| author | Kory Maincent <kory.maincent@bootlin.com> | 2025-04-25 19:14:18 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-28 15:49:47 -0700 |
| commit | 10c34b7d71a4ff8c06d926f1846edf8295ed75bf (patch) | |
| tree | c3d330e89e508481e986c074a6ab7fac4daa27c6 /Documentation/netlink | |
| parent | 8c47d5753a119f1c986bc3ed92e9178d2624e1e8 (diff) | |
| download | tip-10c34b7d71a4ff8c06d926f1846edf8295ed75bf.tar.gz | |
netlink: specs: ethtool: Remove UAPI duplication of phy-upstream enum
The phy-upstream enum is already defined in the ethtool.h UAPI header
and used by the ethtool userspace tool. However, the ethtool spec does
not reference it, causing YNL to auto-generate a duplicate and redundant
enum.
Fix this by updating the spec to reference the existing UAPI enum
in ethtool.h.
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20250425171419.947352-1-kory.maincent@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink')
| -rw-r--r-- | Documentation/netlink/specs/ethtool.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/netlink/specs/ethtool.yaml b/Documentation/netlink/specs/ethtool.yaml index 655d8d10fe248d..c650cd3dcb80bc 100644 --- a/Documentation/netlink/specs/ethtool.yaml +++ b/Documentation/netlink/specs/ethtool.yaml @@ -89,8 +89,10 @@ definitions: doc: Group of short_detected states - name: phy-upstream-type - enum-name: + enum-name: phy-upstream + header: linux/ethtool.h type: enum + name-prefix: phy-upstream entries: [ mac, phy ] - name: tcp-data-split |
