|
Re: Ethernet packet timestamping
|
07/13/2022 9:53 AM
post121868
|
Re: Ethernet packet timestamping
For raw Ethernet then BPF is the correct interface, we don't support raw sockets in io-pkt.
The PTP API is in ptp.h
We ship and support two PTP implementations:
- "ptpd" supports PTPv2 in UDP in IPv4
- "ptpd-avb" supports PTPv2 in Ethernet (802.1AS).
N.B. Only certain network hardware supports hardware timestamping, and we have implemented PTP support only in some
specific network drivers. Running either "ptpd" or "ptpd-avb" on hardware without support will result in it using the
system clock for timestamping, which will not result in the accuracy that PTP is capable of. If run with logging to the
console, both "ptpd" and "ptpd-avb" will report the hardware support status when they start.
If you are looking for PTP support on certain hardware and a certain QNX version, I would suggest getting in touch with
your local QNX support representative and they should be able to help determine if it is supported or not.
|
|
|