DPDK usage discussions
 help / color / mirror / Atom feed
* Synchronizing Clock and Getting Hardware Timestamps in DPDK
@ 2023-05-24 12:07 张熙至
  0 siblings, 0 replies; only message in thread
From: 张熙至 @ 2023-05-24 12:07 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hello all,
I want to measure the transmit latency in the host for a dpdk packet, so I need the timestamp before send (t1) and the hardware timestamp after the NIC finish sending the packet (t2). But I have some questions:
(1) How can I synchronizes the system clock to the hardware clock in the NIC binded to dpdk driver (like phc2sys in normal NIC driver)?
(2) How can I get the hardware timestamp t2?
Thank you for your time and consideration.
Sincerely, Zhang Xizhi






[-- Attachment #2: Type: text/html, Size: 776 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-30 15:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 12:07 Synchronizing Clock and Getting Hardware Timestamps in DPDK 张熙至

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).