OSDN Git Service

selftests: mlxsw: qos_lib: Add a wrapper for running mlnx_qos
authorPetr Machata <petrm@nvidia.com>
Wed, 30 Sep 2020 10:49:10 +0000 (12:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2020 21:06:54 +0000 (14:06 -0700)
commit4b94a2fad835ad5022a099105b7bf27eb584d754
tree45d81d1d68eadff89d1d0b6f4c9514204d3eb94d
parent5b3a53c9c843b84955d5a3abda358518a3031630
selftests: mlxsw: qos_lib: Add a wrapper for running mlnx_qos

mlnx_qos is a script for configuration of DCB. Despite the name it is not
actually Mellanox-specific in any way. It is currently the only ad-hoc tool
available (in contrast to a daemon that manages an interface on an ongoing
basis). However, it is very verbose and parsing out error messages is not
really possible. Add a wrapper that makes it easier to use the tool.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh