PelionIoT / sal-nanostack-driver-k64f-eth

Other
1 stars 6 forks source link

[ONME-2550] Driver waits for the TX buffer descriptor queue to be emptied #10

Closed hasnainvirk closed 8 years ago

hasnainvirk commented 8 years ago

Number of TX descriptors is increased from 2 to 4 and logic is changed so as to facilitate the TX routine so as to wait for the previous transmission to complete.

kjbracey commented 8 years ago

As discussed, not keen on this - the driver shouldn't be blocking if packets are being generated faster that Ethernet can cope with.

I can see that not blocking potentially causes problems with fragmentation - the surge of back-to-back packets generated by the fragmenter could fill your descriptors. So maybe the increased number of descriptors isn't a bad idea.