From: 张熙至 <zhangxz18@mails.tsinghua.edu.cn>
To: users@dpdk.org
Subject: Synchronizing Clock and Getting Hardware Timestamps in DPDK
Date: Wed, 24 May 2023 20:07:23 +0800 (GMT+08:00) [thread overview]
Message-ID: <135086f7.dc.1884da81ce7.Coremail.zhangxz18@mails.tsinghua.edu.cn> (raw)
[-- 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 --]
reply other threads:[~2023-05-30 15:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=135086f7.dc.1884da81ce7.Coremail.zhangxz18@mails.tsinghua.edu.cn \
--to=zhangxz18@mails.tsinghua.edu.cn \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).