]> 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)
commit0d8e1265148ed5f8d604815a75670bf7c7321ccc
treeebe30dbe89f1a1e40b0a7b0cdc6b0337547a9f8c
parent16f98c8892d0213e7ed417af0597242983650999
net: add large ecmp group nexthop tests

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

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