Page 1 of 1

RTL8169: real hardware not able to send more then 1 package

Posted: Wed Dec 15, 2021 3:00 pm
by SanderR
Hello everyone.

I work on RTL8169 driver on real hardware.
This is the link to the driver: https://github.com/AdeRegt/SanderOSUSB/ ... /RTL8169.c
I can send one package without problems, receiving packages go fine too. The only problem is that I am unable to send packages after this:
There is no interrupt triggered for sending the package and I cannot see a package appear on Wireshark on my laptop.

I hope someone can help

Re: RTL8169: real hardware not able to send more then 1 pack

Posted: Sat Dec 18, 2021 2:56 am
by Klakap
Did you set EOR bit in the last Tx descriptor? I somehow can not see it in your code.

Re: RTL8169: real hardware not able to send more then 1 pack

Posted: Sat Dec 18, 2021 10:26 am
by SanderR
This solved the issue, thank you very much! It was indeed the EOR flag.