diff options
author | Amit Cohen <[email protected]> | 2019-11-18 09:50:01 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-18 17:11:54 -0800 |
commit | 8f72a9cf369090c3b94101a11cc4546f13f94925 (patch) | |
tree | cc992c90d9c6f5512e2da6ac709668121d4ea227 /lib/string_helpers.c | |
parent | 646cf7ed9abba7cc1a45f70243cd94808d4c8b6b (diff) |
selftests: forwarding: lib.sh: Add wait for dev with timeout
Add a function that waits for device with maximum number of iterations.
It enables to limit the waiting and prevent infinite loop.
This will be used by the subsequent patch which will set two ports to
different speeds in order to make sure they cannot negotiate a link.
Waiting for all the setup is limited with 10 minutes for each device.
Signed-off-by: Amit Cohen <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions