Page 1 of 1

presume-ack support on PCIe cards

Posted: Fri 28. Oct 2022, 00:02
by dredfern
Hi there!

I'm attempting to find CAN hardware that supports the presume-ack flag via iproute2, in order to suppress re-sending of frames that are not ACK'd. The response to viewtopic.php?f=59&t=7099 mentions this is not supported on PCAN-USB FD, but I wanted to see which other hardware supports it now or will in the future.

According to the user manual, presume-ack does not appear to be supported in the driver for the PCAN-PCIe FD. I suspect, but cannot confirm, that it is supported for the PCAN-PCIe as it mentions it is SJA1000-compatible (https://www.peak-system.com/PCAN-PCI-Ex ... .html?&L=1) and the Linux driver for the SJA1000 does support presume-ack (https://github.com/torvalds/linux/blob/ ... 000.c#L163).

Can anyone confirm these assumptions for me, and additionally tell me if presume-ack is ever planned for support on the PCIe FD board (or if it is technically incompatible with the FPGA CAN controller for whatever reason)?

Thanks in advance!

Derek

Re: presume-ack support on PCIe cards

Posted: Mon 31. Oct 2022, 13:27
by M.Maidhof
Hi,

at the moment the presume-ack is not available in the Linux Netdev drivers. But all PCAN FD PC CAN hardware are able to handle the so called "TX-Self-Acknowledge" feature which could be used under Windows with PCAN-View 5.x.
PCAN-View5x.jpg
PCAN-View5x.jpg (96.87 KiB) Viewed 7215 times
We will discuss this topic with our Linux driver developers, maybe we could implement it in one of the next releases.

regards

Michael

Re: presume-ack support on PCIe cards

Posted: Mon 31. Oct 2022, 22:12
by dredfern
Great, thanks Michael! Would love to hear the outcome of that conversation. Sounds like presume-ack and TX-Self-Acknowledge are more or less the same for our use case at least.

Please let me know if there's anything we can do to speed the implementation; I looked for documentation on the CANFD FPGA register set, but it doesn't look like it's publicly available.

Best,
Derek