jerpelea opened a new pull request, #20315: URL: https://github.com/apache/nuttx/pull/20315
## Summary The PHY was polled with nxsched_usleep(100) in a loop of 0x1998 iterations, so the time the link had to come up depended on the period of the system tick. With the usual 10 ms tick that is about 65 s, but with CONFIG_SCHED_TICKLESS and a 100 us tick it is about 0.65 s, shorter than the auto-negotiation of the PHY (about 1.7 s on the board tested), and the interface could not be brought up. Poll every 10 ms and give the PHY up to 5 s, both for the link and for the auto-negotiation to complete, whatever the tick. ## Impact RELEASE ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
