]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: Add test with multiple prefixes using single nexthop
authorDavid Ahern <dsahern@gmail.com>
Sat, 8 Jun 2019 21:53:40 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:44:57 +0000 (10:44 -0700)
commit58a21540ee8d929cece76d3b6dbc4a226b304925
treed7c56ad7969c590907d198aaaacbca2d3786c797
parent720391ebbf33e1b7cd1eac302e373ff444a324a9
selftests: Add test with multiple prefixes using single nexthop

Add tests where multiple FIB entries use the same nexthop object. Generate
per-cpu cached routes for each by running ping on each cpu, and then
generate exceptions unique to each prefix (remote host) with different
mtus.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthop_multiprefix.sh [new file with mode: 0755]