Dne 31. 12. 21 v 1:41 Keller, Jacob E napsal(a):
You won't see igb_process_skb_fields in the grep for ptp, because it
doesn't have ptp in its name, nor does its caller.
Did not mention it, but of course I searched for it with a different grep pattern. There were none, though! Could there be another function called to process incoming packets?
Unless you have some network setup that is weird like VLANs, changing
the port numbers, etc.. I don't see much else that could be wrong here.
Nothing weird in the setup, plain ethernet interfaces configured with out-of-stock Ubuntu (or the Linux4Tegra Ubuntu).
Nothing obvious is different between newer drivers, though its possible
there is a bug in both this driver version and the most recent driver...
I finally managed to find a normal desktop x86 computer and put the card in it. The problem is the same even with x86 kernels 5.4 and 5.15. So I would rule out the kernel (or at least the fact that I test it on a 4.9 kernel aarch64 computer).
I can provide a "diff" of the trace with the working igb card.

Right. I suspect this comparison won't help us much because the newer
card supports timestamping all frames, while this card does not.

You were right, there was nothing interesting in the log from the better igb card. It looked completely different as it is timestamping all packets.

When I find some time, I'll try to play around with linuxptp and how it sets up the capture, as I'd consider it weird that the cards support timestamping, Linux cannot handle it, and nobody ever noticed... I think driver error could be also ruled out because both igb and ixgbe are affected (well, they're both Intel, so maybe they could also copy-paste a bug, but I wouldn't bet on that...). Both of the problematic cards have in common that they don't support timestamping all packets, but report to support HWTSTAMP_FILTER_PTP_V2_EVENT, which should be enough for linuxptp.

Is there any other way to test the timestamping? E.g. a short C snippet to compile and figure out if the stamps are coming if requested?

Thanks for help,

Martin


Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to