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

Issue with transmission synchronisation functions #22

Closed
Deniz-Eren opened this issue Oct 29, 2023 · 0 comments · Fixed by #24
Closed

Issue with transmission synchronisation functions #22

Deniz-Eren opened this issue Oct 29, 2023 · 0 comments · Fixed by #24
Assignees
Labels
bug Something isn't working

Comments

@Deniz-Eren
Copy link
Owner

Deniz-Eren commented Oct 29, 2023

There seems to be a deadlock issue with the mutex and/or cond_var setup in netif_stop_queue(). The issue could be in combination to how the Linux drivers callback the synchronisation functions also. The issue presents itself when very high transmission rate is applied under non-realistic test conditions. It is suspected the synchronisation functions of the transmission function netif_tx() is problematic. The symptom is the loss of receive ability when this deadlock happens.

Refactor netif_tx() and synchronisation interface functions netif_start_queue(), netif_queue_stopped(), netif_wake_queue() and netif_stop_queue(). The issue can be replicated thus the fix can be verified.

@Deniz-Eren Deniz-Eren changed the title Issue with transmission synchronization functions Issue with transmission synchronisation functions Oct 29, 2023
@Deniz-Eren Deniz-Eren added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request labels Oct 29, 2023
@Deniz-Eren Deniz-Eren self-assigned this Oct 29, 2023
@Deniz-Eren Deniz-Eren linked a pull request Oct 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant