aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2019-11-18 09:50:01 +0200
committerDavid S. Miller <[email protected]>2019-11-18 17:11:54 -0800
commit8f72a9cf369090c3b94101a11cc4546f13f94925 (patch)
treecc992c90d9c6f5512e2da6ac709668121d4ea227 /lib/string_helpers.c
parent646cf7ed9abba7cc1a45f70243cd94808d4c8b6b (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