]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: ethtool: remove duplicate defines for family info
authorJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 20:22:40 +0000 (13:22 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 18 Jun 2025 21:10:39 +0000 (14:10 -0700)
commitc6d732c38f93c4aebd204a5656583142289c3a2e
tree70c42852456db2c8db964cd723693840c3313329
parentd0fa59897e049e84432600e86df82aab3dce7aa5
net: ethtool: remove duplicate defines for family info

Commit under fixes switched to uAPI generation from the YAML
spec. A number of custom defines were left behind, mostly
for commands very hard to express in YAML spec.

Among what was left behind was the name and version of
the generic netlink family. Problem is that the codegen
always outputs those values so we ended up with a duplicated,
differently named set of defines.

Provide naming info in YAML and remove the incorrect defines.

Fixes: 8d0580c6ebdd ("ethtool: regenerate uapi header from the spec")
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250617202240.811179-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/ethtool.yaml
include/uapi/linux/ethtool_netlink.h
include/uapi/linux/ethtool_netlink_generated.h