summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2019-11-18 09:50:01 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-18 17:11:54 -0800
commit8f72a9cf369090c3b94101a11cc4546f13f94925 (patch)
treecc992c90d9c6f5512e2da6ac709668121d4ea227 /Documentation
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 <amitc@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions