Re: Socketcan reordered packets and packet stalls

2023-03-03 Thread Mårten Svanfeldt
Thanks for your input Peter, > The IMXRT SocketCAN driver is based on the S32K1XX driver which had limited > amount of mailboxes. > So they had to be cleared as quick as possible to make sure we don't drop > packets if all mailboxes get full. I did get that from the git history, however I hope w

Socketcan reordered packets and packet stalls

2023-03-03 Thread Peter van der Perk
nt of mailboxes and would even open the possibility to use the DMA as well to transfer the CAN packets. Yours sincerely, Peter van der Perk -Original Message- From: Mårten Svanfeldt Sent: Friday, March 3, 2023 9:48 AM To: dev@nuttx.apache.org Subject: Socketcan reordered packets and pa

Socketcan reordered packets and packet stalls

2023-03-03 Thread Mårten Svanfeldt
Hello, We are using Nuttx and its SocketCAN support (on top of iMXRT hardware), but have run into some problems related to packet reordering and also possible soft-locks/stalls in the rx side. The symptoms we have is that the upper layer, which is a isotp implementation, receives packets out