diff options
author | Justin Chen <[email protected]> | 2023-12-13 14:27:43 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-14 17:58:58 -0800 |
commit | 268531be211f18c55f7ff5a1641d32c0fd0571cd (patch) | |
tree | 75e0ff73da70065d95ea3af9a196a7e520e3294e /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | c2d919cdfe56de1b3ba0ec019e6367957dd39f14 (diff) |
net: mdio: mdio-bcm-unimac: Delay before first poll
With a clock interval of 400 nsec and a 64 bit transactions (32 bit
preamble & 16 bit control & 16 bit data), it is reasonable to assume
the mdio transaction will take 25.6 usec. Add a 30 usec delay before
the first poll to reduce the chance of a 1000-2000 usec sleep.
Reduce the timeout from 1000ms to 100ms as it is unlikely for the bus
to take this long.
Signed-off-by: Justin Chen <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions