]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Multipath-tests-for-tunnel-devices'
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:42:13 +0000 (10:42 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:42:13 +0000 (10:42 +0900)
commit5ce8c7e45a23cf5506a39db69f2cec023141c84e
tree6db5fe541bbec8b268b3c31165dcde13df897516
parent3248493c47348906aed5fa6c0da4a0d55b983bd1
parentbbff267fe76d0cf445ee51b9cfb46c773cd7ad37
Merge branch 'Multipath-tests-for-tunnel-devices'

Petr Machata says:

====================
Multipath tests for tunnel devices

This patchset adds a test for ECMP and weighted ECMP between two GRE
tunnels.

In patches #1 and #2, the function multipath_eval() is first moved from
router_multipath.sh to lib.sh for ease of reuse, and then fixed up.

In patch #3, the function tc_rule_stats_get() is parameterized to be
useful for egress rules as well.

In patch #4, a new function __simple_if_init() is extracted from
simple_if_init(). This covers the logic that needs to be done for the
usual interface: VRF migration, upping and installation of IP addresses.

Patch #5 then adds the test itself.

Additionally in patch #6, a requirement to add diagrams to selftests is
documented.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>