]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Move start_/stop_traffic from mlxsw to lib.sh
authorPetr Machata <petrm@mellanox.com>
Wed, 18 Dec 2019 14:55:21 +0000 (14:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2019 21:32:30 +0000 (13:32 -0800)
commitd5efa4aab26c96e6fdd14bdb23ff5f75413c78d5
treed0f8da66c5e5fab0d80dcdc5b10c277859958ca5
parentca6ddeff928609d536368b72bb8d12d99163b3d6
selftests: forwarding: Move start_/stop_traffic from mlxsw to lib.sh

These two functions are used for starting several streams of traffic, and
then stopping them later. They will be handy for the test coverage of ETS
Qdisc. Move them from mlxsw-specific qos_lib.sh to the generic lib.sh.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh
tools/testing/selftests/net/forwarding/lib.sh