OSDN Git Service

selftests: mlxsw: qos_defprio: Use until_counter_is
authorPetr Machata <petrm@mellanox.com>
Mon, 2 Mar 2020 17:56:05 +0000 (19:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:03:52 +0000 (17:03 -0800)
commit7b522ba27636ccd86beb8afe71c6ee731cf7b718
tree16c747294d1c34d561dc1bcd87626bbb996f4ebb
parent47b0e096a938b020742b4f12afdc17aff21af6ca
selftests: mlxsw: qos_defprio: Use until_counter_is

Instead of hand-coding the busywait() predicate, use the until_counter_is()
introduced recently.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Amit Cohen <amitc@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_defprio.sh