]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Reduce router scale running time using offload indication
authorDanielle Ratson <danieller@mellanox.com>
Thu, 27 Feb 2020 07:50:20 +0000 (08:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 19:10:15 +0000 (11:10 -0800)
commit4c0aeadaa3bd3ef8a496a8884f8a242bcc672e4e
treec736ff1ea9f5ae40d8bd919320b977b203d5746f
parente09d7dc21ddf9098d368c74a6905d56143a8d67e
selftests: mlxsw: Reduce router scale running time using offload indication

Currently, the test inserts X /32 routes and for each route it is
testing that a packet sent from the first host is received by the second
host, which is very time-consuming.

Instead only validate the offload flag of each route and get the same result.

Wait between the creation of the routes and the offload validation in
order to make sure that all the routes were successfully offloaded.

Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/router_scale.sh