commit | 844f0556546900a658b241e5aea7b8dc7cb3ff72 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Mon Mar 02 19:56:03 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 03 17:03:52 2020 -0800 |
tree | 4e9f78baefdcddff2a72d8ea522f86f0143fe87a | |
parent | 84ea1f8541721c1852bc95f4d50a603c661eabc6 [diff] |
selftests: forwarding: Convert until_counter_is() to take expression until_counter_is() currently takes as an argument a number and the condition holds when the current counter value is >= that number. Make the function more generic by taking a partial expression instead of just the number. Convert the two existing users. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Amit Cohen <amitc@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>