diff options
author | Hangbin Liu <[email protected]> | 2024-02-05 21:00:45 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-07 18:26:20 -0800 |
commit | c8f4b19d64b93091ca30fe6800f41d1532bd7507 (patch) | |
tree | f50d1bb1842774aed08e108f041db2a78c27d425 /lib/test-string_helpers.c | |
parent | b27696cd8fcc0ace1b2dfd81b7bff824a30b1fd1 (diff) |
selftests/net/forwarding: add slowwait functions
Add slowwait functions to wait for some operations that may need a long time
to finish. The busywait executes the cmd too fast, which is kind of wasting
cpu in this scenario. At the same time, if shell debugging is enabled with
`set -x`. the busywait will output too much logs.
Reviewed-by: Przemek Kitszel <[email protected]>
Signed-off-by: Hangbin Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions