aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2022-04-07 10:35:31 +0300
committerDavid S. Miller <[email protected]>2022-04-08 13:45:43 +0100
commitc440615ffbcb9c06975103e5abbcb094589329d1 (patch)
treef961fad2f539517950b67183d0cc36842ef474a4 /tools/perf/scripts/python
parentf8fab3169464623b88d0f423f8de2b28809c2fcf (diff)
net/sched: cls_api: Add extack message for unsupported action offload
For better error reporting to user space, add an extack message when the requested action does not support offload. Example: # echo 1 > /sys/kernel/tracing/events/netlink/netlink_extack/enable # tc filter add dev dummy0 ingress pref 1 proto all matchall skip_sw action nat ingress 192.0.2.1 198.51.100.1 Error: cls_matchall: Failed to setup flow action. We have an error talking to the kernel # cat /sys/kernel/tracing/trace_pipe tc-181 [000] b..1. 88.406093: netlink_extack: msg=Action does not support offload tc-181 [000] ..... 88.406108: netlink_extack: msg=cls_matchall: Failed to setup flow action Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions