Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmac - fix hang in Ethernet driver #19

Merged
merged 2 commits into from
Dec 24, 2023
Merged

gmac - fix hang in Ethernet driver #19

merged 2 commits into from
Dec 24, 2023

Conversation

idigdoug
Copy link
Collaborator

Ethernet driver is hanging. Occurs due to rollover of statistics, which triggers an interrupt, and we never clear the interrupt's status.

Quick fix is to just freeze the statistics, and then they never trigger interrupts.

Additional change: disable interrupts while the DPC is pending. This noticably improves performance.

Ethernet driver is hanging. Occurs due to rollover of statistics, which
triggers an interrupt, and we never clear the interrupt's status.

Quick fix is to just freeze the statistics, and then they never trigger
interrupts.

Additional change: disable interrupts while the DPC is pending. This
noticably improves performance.
@idigdoug idigdoug merged commit 1cacff0 into master Dec 24, 2023
2 checks passed
@idigdoug idigdoug deleted the gmacInterrupts branch December 24, 2023 02:38
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.

2 participants