]> git.baikalelectronics.ru Git - kernel.git/commit
net: add large ecmp group nexthop tests
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 27 May 2020 16:41:42 +0000 (12:41 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 18:38:43 +0000 (11:38 -0700)
commitf4001117f81a84647488dd801eba2de8c3e05aad
treeebe30dbe89f1a1e40b0a7b0cdc6b0337547a9f8c
parent8c9a514374149cbeac343c932b60147c3406e11b
net: add large ecmp group nexthop tests

Add a couple large ecmp group nexthop selftests to cover
the remnant fixed by d22072ebe9a76bb155f31785fc2e8022559e5b4e.

The tests create 100 x32 ecmp groups of ipv4 and ipv6 and then
dump them. On kernels without the fix, they will fail due
to data remnant during the dump.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fib_nexthops.sh