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)
commit735ab2f65dced1f5285c50dc6dcb39dadf9eb6ad
treed7c56ad7969c590907d198aaaacbca2d3786c797
parent622946d9186e132d36a3e92b94bbdf375637d9bd
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]