]> 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)
commit52c21fcae81c90d1e55a04ee733f617ff904d43c
treed991466b9ff9b5e0c95af2d054bb607a0f901c5b
parentcb63c6ccf96f4e8f2bbda6a16a2751c6e5731367
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