Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rx Hardware Packet Timestamps from DPDK #131

Open
Carisbrooke opened this issue May 7, 2021 · 3 comments
Open

Rx Hardware Packet Timestamps from DPDK #131

Carisbrooke opened this issue May 7, 2021 · 3 comments

Comments

@Carisbrooke
Copy link

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

@MatiasElo
Copy link
Contributor

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?

@Carisbrooke
Copy link
Author

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/dev@dpdk.org/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.

@MatiasElo
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants