]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Fix mausezahn delay parameter in mirror_test()
authorDanielle Ratson <danieller@mellanox.com>
Sun, 23 Aug 2020 08:06:26 +0000 (11:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 00:36:11 +0000 (17:36 -0700)
commit9a69a39ab6ddfcd7cb06b30f4299a11b3edc8769
treedbf79a262bfa68ab6871b3d12e950170b0430f4e
parente82d50965b98a9c7112ec3cf5040c31197da2ce7
selftests: forwarding: Fix mausezahn delay parameter in mirror_test()

Currently, mausezahn delay parameter in mirror_test() is specified with
'ms' units.

mausezahn versions before 0.6.5 interpret 'ms' as seconds and therefore
the tests that use mirror_test() take a very long time to complete.

Resolve this by specifying 'msec' units.

Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_lib.sh