]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Test IPv4 weighted nexthops
authorIdo Schimmel <idosch@mellanox.com>
Wed, 28 Feb 2018 10:25:11 +0000 (12:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2018 17:25:47 +0000 (12:25 -0500)
commitc1ba59c68d5517225113be944074d9cc0b48f127
tree82d66e064279c32078e13c0fb659b7d87d0db165
parent67d86cefba6d9f55b98f5a32fb1452395d1ac9b5
selftests: forwarding: Test IPv4 weighted nexthops

Use different weights for the multipath route configured on the first
router and check that the different flows generated by the first host
are distributed according to the provided weights.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/router_multipath.sh