]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: tc_common: Convert to use busywait
authorPetr Machata <petrm@mellanox.com>
Mon, 2 Mar 2020 17:56:04 +0000 (19:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 01:03:52 +0000 (17:03 -0800)
commit23cca962640f9692769bbbdda0f8556bd9dc3ef4
treed991466b9ff9b5e0c95af2d054bb607a0f901c5b
parentfe3b3d6a140525a8168476060431b1757528b63b
selftests: forwarding: tc_common: Convert to use busywait

A function busywait() was recently added based on the logic in
__tc_check_packets(). Convert the code in tc_common to use the new
function.

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/net/forwarding/tc_common.sh