netlink: specs: ethtool: Remove UAPI duplication of phy-upstream enum
authorKory Maincent <kory.maincent@bootlin.com>
Fri, 25 Apr 2025 17:14:18 +0000 (19:14 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 28 Apr 2025 22:49:47 +0000 (15:49 -0700)
commit10c34b7d71a4ff8c06d926f1846edf8295ed75bf
treec3d330e89e508481e986c074a6ab7fac4daa27c6
parent8c47d5753a119f1c986bc3ed92e9178d2624e1e8
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>
Documentation/netlink/specs/ethtool.yaml
include/uapi/linux/ethtool_netlink_generated.h