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

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
SanderR
Member
Member
Posts: 70
Joined: Tue Aug 30, 2016 1:31 pm
Libera.chat IRC: SDR

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

Post 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
Klakap
Member
Member
Posts: 297
Joined: Sat Mar 10, 2018 10:16 am

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

Post by Klakap »

Did you set EOR bit in the last Tx descriptor? I somehow can not see it in your code.
SanderR
Member
Member
Posts: 70
Joined: Tue Aug 30, 2016 1:31 pm
Libera.chat IRC: SDR

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

Post by SanderR »

This solved the issue, thank you very much! It was indeed the EOR flag.
Post Reply