odp-dpdk
odp-dpdk copied to clipboard
Rx Hardware Packet Timestamps from DPDK
Hi,
The DPDK DPAA2 driver and DPDK 20.11 appear to support the hardware timestamping of RX packets. Can this time information be accessed by odp-dpdk? (finding the ODP time API a little confusing on the subject)
Thanks, Dom
Hi,
The current ODP-DPDK implementation only supports software timestamping. If I understand the current DPDK API correctly, HW timestamping can only be enabled for PTP packets (IEEE1588/802.1AS). Would you need timestamps for all packets or only for PTP usage?
Thanks for replying, we're interested in every RX packet being timestamped, I know it used to be limited to 1588 packets but thought mbuf.timestamp had been extended so every packet could be timestamped (in hardware, if supported) and from 20.11 using the dynamic mbuf RTE_MBUF_DYNFIELD_TIMESTAMP_NAME ( )
https://www.mail-archive.com/[email protected]/msg190452.html http://doc.dpdk.org/guides-20.11/rel_notes/release_20_11.html
an example
https://git.quacker.org/d/numam-dpdk/commit/7a0c64910ca73d28b320354ef385853b428347f9
However struggling to find clear documentation on the subject.
Thanks for the info. There really isn't much documentation to go with but it seems like these new APIs could be useful, although they are still experimental.