selftests: mlxsw: Add qos_lib.sh
authorPetr Machata <petrm@mellanox.com>
Thu, 28 Mar 2019 12:12:26 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 00:20:52 +0000 (17:20 -0700)
commit573363a68f27c75f92b029345eed0026a2bac0c0
treefa99158be749a41757d5bba6dd2c6bcce9d6973e
parent5dde21b3a7f648342d873ec964e0c486c329b91c
selftests: mlxsw: Add qos_lib.sh

Extract reusable code from qos_mc_aware.sh and put into a new library.

Signed-off-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/drivers/net/mlxsw/qos_lib.sh [new file with mode: 0644]
tools/testing/selftests/drivers/net/mlxsw/qos_mc_aware.sh