]> 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)
commitead368292b1441aa79890437f15149d16de35c10
tree82d66e064279c32078e13c0fb659b7d87d0db165
parenta66a1685503b2d0298ed2e2b84d31496ac4ad4e7
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