selftests: forwarding: Move multipath_eval() to lib.sh
authorPetr Machata <petrm@mellanox.com>
Tue, 26 Jun 2018 00:06:06 +0000 (02:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Jun 2018 01:42:12 +0000 (10:42 +0900)
commitb2c478723c7f8fa78d4fbdb9d7de4191249b92e0
treecb21c80737080ae2e66c834634725f6fe4b81b2f
parent3463e51dc337ddd6e608fd595130398e9c60680f
selftests: forwarding: Move multipath_eval() to lib.sh

This function will be useful for the GRE multipath test that is coming
later.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-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