Skip to content

Multipath tests for tunnel devices

Petr Machata linux-kselftest netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6selftests: forwarding: Move multipath_eval() to lib.shtools/testing/selftests/net/forwarding/lib.sh tools/testing/selftests/net/forwarding/router_multipath.sh+39 -390 replies
2/6selftests: forwarding: multipath_eval(): Improve styletools/testing/selftests/net/forwarding/lib.sh+39 -350 replies
3/6selftests: forwarding: tc_rule_stats_get: Parameterize directiontools/testing/selftests/net/forwarding/lib.sh+3 -20 replies
4/6selftests: forwarding: lib: Extract interface-init functionstools/testing/selftests/net/forwarding/lib.sh+25 -70 replies
5/6selftests: forwarding: Test multipath tunnelingtools/testing/selftests/net/forwarding/gre_multipath.sh+354 -00 replies
6/6selftests: forwarding: README: Require diagramstools/testing/selftests/net/forwarding/README+2 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] 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.

Petr Machata (6):
selftests: forwarding: Move multipath_eval() to lib.sh
selftests: forwarding: multipath_eval(): Improve style
selftests: forwarding: tc_rule_stats_get: Parameterize direction
selftests: forwarding: lib: Extract interface-init functions
selftests: forwarding: Test multipath tunneling
selftests: forwarding: README: Require diagrams

 tools/testing/selftests/net/forwarding/README      |   2 +
 .../selftests/net/forwarding/gre_multipath.sh      | 354 +++++++++++++++++++++
 tools/testing/selftests/net/forwarding/lib.sh      |  80 ++++-
 .../selftests/net/forwarding/router_multipath.sh   |  39 ---
 4 files changed, 427 insertions(+), 48 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/gre_multipath.sh
Signature · 6 lines
2.4.11

--
To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html