diff options
author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-07-13 02:18:58 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-07-15 09:14:37 -0700 |
commit | 6e5c85c003e47fd49b72ca052b9181644e04a520 (patch) | |
tree | 7a47815169664587119858a21bebc023b8e62d6f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ba7a0f4436ac73850a4110acf04d65f6e8a67d82 (diff) |
net/sched: flower: refactor control flag definitions
Redefine the flower control flags as an enum, so they are
included in BTF info.
Make the kernel-side enum a more explicit superset of
TCA_FLOWER_KEY_FLAGS_*, new flags still need to be added to
both enums, but at least the bit position only has to be
defined once.
FLOW_DIS_ENCAPSULATION is never set for mask, so it can't be
exposed to userspace in an unsupported flags mask error message,
so it will be placed one bit position above the last uAPI flag.
Suggested-by: Alexander Lobakin <[email protected]>
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]>
Reviewed-by: Davide Caratti <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions