raiden00pl opened a new pull request, #21991:
URL: https://github.com/apache/nuttx/pull/21991

   ## Summary
        
     ctucanfd_sock_transmit() freed each packet at once with a TX quota of 1, so
     the upper half kept sending while all TXT buffers were busy and dropped the
     frames refused with -EBUSY. Keep the packet with its TXT buffer, use the 
     buffer count as TX quota and free it in .reclaim once the buffer is done, 
or
     in ifdown.
     
   ## Impact
     
     No frame loss on bursts from SocketCAN on CTU CAN FD.
     
   ## Testing
     
     qemu-intel64 ctucan_pci: bursts of frames from a SocketCAN socket reach the
     host without loss, classic and CAN FD frames.
    


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

  • [PR] drivers/can/ctucanfd: Ke... raiden00pl (via GitHub) via commits

Reply via email to