diff options
| author | Ido Schimmel <[email protected]> | 2022-04-07 10:35:25 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-08 13:45:43 +0100 |
| commit | bca3821d19d9aa05cd8164e4f716150d6ef7e5a5 (patch) | |
| tree | 31b0438b27d813a46f1f06a6baaa0d3962d77e97 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | 4dcaa50d02927f045c8653ba992aadc7c94ee71a (diff) | |
net/sched: act_mpls: Add extack messages for offload failure
For better error reporting to user space, add extack messages when mpls
action offload fails.
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 mpls dec_ttl
Error: cls_matchall: Failed to setup flow action.
We have an error talking to the kernel
# cat /sys/kernel/tracing/trace_pipe
tc-182 [000] b..1. 18.693915: netlink_extack: msg=act_mpls: Offload not supported when "dec_ttl" option is used
tc-182 [000] ..... 18.693921: 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/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions