diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-02-07 10:22:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-08 16:47:03 -0800 |
commit | 9ee53e37532f006ce90340b527b225811f62d191 (patch) | |
tree | c8b2e5cade0e924d3adfa47dcd9f7fb2a35262dd /tools/perf/builtin-annotate.c | |
parent | a4cb1c02c3e1f72f8db815a2d3f648026ac3924a (diff) | |
download | linux-9ee53e37532f006ce90340b527b225811f62d191.tar.bz2 |
selftests: netdevsim: Test route offload failure notifications
Add cases to verify that when debugfs variable "fail_route_offload" is
set, notification with "rt_offload_failed" flag is received.
Extend the existing cases to verify that when sysctl
"fib_notify_on_flag_change" is set to 2, the kernel emits notifications
only for failed route installation.
$ ./fib_notifications.sh
TEST: IPv4 route addition [ OK ]
TEST: IPv4 route deletion [ OK ]
TEST: IPv4 route replacement [ OK ]
TEST: IPv4 route offload failed [ OK ]
TEST: IPv6 route addition [ OK ]
TEST: IPv6 route deletion [ OK ]
TEST: IPv6 route replacement [ OK ]
TEST: IPv6 route offload failed [ OK ]
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions