diff options
author | Pedro Tammela <[email protected]> | 2023-12-29 10:26:41 -0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-03 18:36:24 -0800 |
commit | c2a67de9bb543394aee869d1c68b5fbcd8a89dcb (patch) | |
tree | 13ed7c2136ecf358b3e7bc6a61b740ce8ca07b79 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | d3d344a1ca69d8fb2413e29e6400f3ad58a05c06 (diff) |
net/sched: introduce ACT_P_BOUND return code
Bound actions always return '0' and as of today we rely on '0'
being returned in order to properly skip bound actions in
tcf_idr_insert_many. In order to further improve maintainability,
introduce the ACT_P_BOUND return code.
Actions are updated to return 'ACT_P_BOUND' instead of plain '0'.
tcf_idr_insert_many is then updated to check for 'ACT_P_BOUND'.
Signed-off-by: Pedro Tammela <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions