netlink: specs: ethtool: define header-flags as an enum
authorJakub Kicinski <kuba@kernel.org>
Sat, 6 Apr 2024 05:22:38 +0000 (22:22 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Apr 2024 05:26:30 +0000 (22:26 -0700)
commitff8877b04ef282b2bdb16c9dccc2e42216a34f62
tree2c04d5399180c087411f0d769d8f20100340881f
parent3579032c08c1d313bb53e67e97e9ea77bed48014
netlink: specs: ethtool: define header-flags as an enum

Recent changes added header flags to the spec.
Use an enum instead of defines for more seamless codegen.

[Jakub: drop the already applied parts and rewrite message]

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Link: https://lore.kernel.org/r/20240403212931.128541-6-rrameshbabu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/ethtool.yaml
include/uapi/linux/ethtool_netlink.h