Skip to content

embassy-net: Avoid looping if the link is down#5860

Draft
bugadani wants to merge 1 commit intoembassy-rs:mainfrom
bugadani:embassy-net-link
Draft

embassy-net: Avoid looping if the link is down#5860
bugadani wants to merge 1 commit intoembassy-rs:mainfrom
bugadani:embassy-net-link

Conversation

@bugadani
Copy link
Copy Markdown
Contributor

@bugadani bugadani commented Apr 15, 2026

When the network device is down, smoltcp may return a request for immediate re-polling (see esp-rs/esp-hal#4973) which, because the link is down, will not do anything useful. This PR only queries for a re-poll request when the link is up, which can prevent the runner task from consuming all CPU time in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant