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

Bug in Tx Queue with fragment being checked #16

Open
coolstar opened this issue Jan 14, 2024 · 1 comment
Open

Bug in Tx Queue with fragment being checked #16

coolstar opened this issue Jan 14, 2024 · 1 comment

Comments

@coolstar
Copy link

According to comment here: https://github.com/microsoft/NetAdapter-Cx-Driver-Samples/blob/release_2004/RtEthSample/txqueue.cpp#L292 the last fragment should be checked

but at https://github.com/microsoft/NetAdapter-Cx-Driver-Samples/blob/release_2004/RtEthSample/txqueue.cpp#L290C6-L290C6 it's checking the first fragment.

On a similar driver I've written for RTL8168/RTL8125, this bug causes the Tx Queue to randomly stop sending packets. Fixing it to use the last fragment (like so coolstar/if_re-win@14e3319) seems to fix the issue and get more stable iperf transfers.

Still have more testing to do, but seems to be stable so far.

@tylerretzlaff
Copy link
Member

tylerretzlaff commented Jan 15, 2024 via email

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

No branches or pull requests

2 participants