All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] Multipath tests for tunnel devices
@ 2018-06-26  0:05 ` Petr Machata
  0 siblings, 0 replies; 24+ messages in thread
From: petrm @ 2018-06-26  0:05 UTC (permalink / raw)


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

-- 
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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2018-06-27  1:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26  0:05 [PATCH net-next 0/6] Multipath tests for tunnel devices petrm
2018-06-26  0:05 ` Petr Machata
2018-06-26  0:05 ` Petr Machata
2018-06-26  0:06 ` [PATCH net-next 1/6] selftests: forwarding: Move multipath_eval() to lib.sh petrm
2018-06-26  0:06   ` Petr Machata
2018-06-26  0:06   ` Petr Machata
2018-06-26  0:07 ` [PATCH net-next 2/6] selftests: forwarding: multipath_eval(): Improve style petrm
2018-06-26  0:07   ` Petr Machata
2018-06-26  0:07   ` Petr Machata
2018-06-26  0:07 ` [PATCH net-next 3/6] selftests: forwarding: tc_rule_stats_get: Parameterize direction petrm
2018-06-26  0:07   ` Petr Machata
2018-06-26  0:07   ` Petr Machata
2018-06-26  0:08 ` [PATCH net-next 4/6] selftests: forwarding: lib: Extract interface-init functions petrm
2018-06-26  0:08   ` Petr Machata
2018-06-26  0:08   ` Petr Machata
2018-06-26  0:08 ` [PATCH net-next 5/6] selftests: forwarding: Test multipath tunneling petrm
2018-06-26  0:08   ` Petr Machata
2018-06-26  0:08   ` Petr Machata
2018-06-26  0:08 ` [PATCH net-next 6/6] selftests: forwarding: README: Require diagrams petrm
2018-06-26  0:08   ` Petr Machata
2018-06-26  0:08   ` Petr Machata
2018-06-27  1:42 ` [PATCH net-next 0/6] Multipath tests for tunnel devices davem
2018-06-27  1:42   ` David Miller
2018-06-27  1:42   ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.