]> git.ipfire.org Git - thirdparty/linux.git/commit
ethtool: separate definitions that are gonna be generated
authorStanislav Fomichev <sdf@fomichev.me>
Wed, 4 Dec 2024 15:55:47 +0000 (07:55 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Dec 2024 20:03:04 +0000 (12:03 -0800)
commit49922401c2190713c5cc03902dc68c3ecd3f13e8
tree5ef9e621237478c76c99c6519b65e6ca1b94b7a7
parent001b0b59efbbdf54126c2ae512009d4a7c9f9f88
ethtool: separate definitions that are gonna be generated

Reshuffle definitions that are gonna be generated into
ethtool_netlink_generated.h and match ynl spec order.
This should make it easier to compare the output of the ynl-gen-c
to the existing uapi header. No functional changes.

Things that are still remaining to be manually defined:
- ETHTOOL_FLAG_ALL - probably no good way to add to spec?
- some of the cable test bits (not sure whether it's possible to move to
  spec)
- some of the stats definitions (no way currently to move to spec)

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20241204155549.641348-7-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
MAINTAINERS
include/uapi/linux/ethtool_netlink.h
include/uapi/linux/ethtool_netlink_generated.h [new file with mode: 0644]