Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpu/sam0: improve ethernet driver resilience
In case of network heavy traffic on the Ethernet, interrupts fire faster than the netdev thread can process them and we run out of buffers. With this commit, we now check if we don't have buffers available, so we can flush everything and restart reception properly even if we did drop a few in the operation
- Loading branch information
Showing
2 changed files
with
64 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters