diff options
author | 2025-05-05 13:45:11 +0200 | |
---|---|---|
committer | 2025-05-06 18:21:11 -0700 | |
commit | 429ac6211494c12b668dac59811ea8a96db6d757 (patch) | |
tree | d3335e747e83abb5c505e7daa509255201e76104 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: ynl-gen: allow noncontiguous enums (diff) | |
download | wireguard-linux-429ac6211494c12b668dac59811ea8a96db6d757.tar.xz wireguard-linux-429ac6211494c12b668dac59811ea8a96db6d757.zip |
devlink: define enum for attr types of dynamic attributes
Devlink param and health reporter fmsg use attributes with dynamic type
which is determined according to a different type. Currently used values
are NLA_*. The problem is, they are not part of UAPI. They may change
which would cause a break.
To make this future safe, introduce a enum that shadows NLA_* values in
it and is part of UAPI.
Also, this allows to possibly carry types that are unrelated to NLA_*
values.
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20250505114513.53370-3-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions