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

After adding a given number of flower rules for different IPv6
addresses, the test generates traffic and ensures that each packet is
received, which is time-consuming.

Instead, test the offload indication of the tc flower rules and reduce
the running time by half.

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/tc_flower_scale.sh