diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-02-01 22:47:57 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-03 04:45:59 +0300 |
commit | 19d36d2971e671cd1b7f4174ef5e21c341ec7690 (patch) | |
tree | 36afa1011eb0f58943599a15e91b0f3979f20b3f /sound/hda/array.c | |
parent | d1a7a489287cebeb3ff3d1a114f5eb7d3641793b (diff) | |
download | linux-19d36d2971e671cd1b7f4174ef5e21c341ec7690.tar.xz |
selftests: netdevsim: Add fib_notifications test
Add test to check fib notifications behavior.
The test checks route addition, route deletion and route replacement for
both IPv4 and IPv6.
When fib_notify_on_flag_change=0, expect single notification for route
addition/deletion/replacement.
When fib_notify_on_flag_change=1, expect:
- two notification for route addition/replacement, first without RTM_F_TRAP
and second with RTM_F_TRAP.
- single notification for route deletion.
$ ./fib_notifications.sh
TEST: IPv4 route addition [ OK ]
TEST: IPv4 route deletion [ OK ]
TEST: IPv4 route replacement [ OK ]
TEST: IPv6 route addition [ OK ]
TEST: IPv6 route deletion [ OK ]
TEST: IPv6 route replacement [ OK ]
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'sound/hda/array.c')
0 files changed, 0 insertions, 0 deletions