diff options
| author | Jiri Pirko <[email protected]> | 2025-05-05 11:45:11 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-07 01:21:11 +0000 |
| commit | 429ac6211494c12b668dac59811ea8a96db6d757 (patch) | |
| tree | d3335e747e83abb5c505e7daa509255201e76104 /tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py | |
| parent | tools: ynl-gen: allow noncontiguous enums (diff) | |
| download | kernel-429ac6211494c12b668dac59811ea8a96db6d757.tar.gz kernel-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 <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/hw/lib/py/linkconfig.py')
0 files changed, 0 insertions, 0 deletions
