aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2021-02-07 10:22:56 +0200
committerDavid S. Miller <[email protected]>2021-02-08 16:47:03 -0800
commit134c7532424067b3006024c1acc44bd195245622 (patch)
tree0a76789731ac3ffedb83a8a3418ce98124944a6f /tools/perf/scripts/python/stackcollapse.py
parentf57ab5b75f7193e194c83616cd104f41c8350f68 (diff)
netdevsim: fib: Add debugfs to debug route offload failure
Add "fail_route_offload" flag to disallow offloading routes. It is needed to test "offload failed" notifications. Create the flag as part of nsim_fib_create() under fib directory and set it to false by default. When FIB_EVENT_ENTRY_{REPLACE, APPEND} are triggered and "fail_route_offload" value is true, set the appropriate hardware flag to make the kernel emit RTM_NEWROUTE notification with RTM_F_OFFLOAD_FAILED flag. Signed-off-by: Amit Cohen <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions