* [dpdk-users] Running PTP (Precision Time Protocol) and running DPDK app via native PMD
@ 2021-04-14 3:07 Mah, Yock Gen
0 siblings, 0 replies; only message in thread
From: Mah, Yock Gen @ 2021-04-14 3:07 UTC (permalink / raw)
To: users
Hi All,
I would like to use PTP4L (Presicion Time Prototocol) to sync two ends clock while running DPDK application for latency information (from machine 1 to machine 2).
My application looking like following:
Machine A - sending packet continuously, this is PTP master:
----------------------------------------------------------------------------------
sudo /data/dpdk-demo01/talker/build/talker -l 1 -n 1 -- -p 0x1 -T 0 -d 00:A0:C9:00:00:00
Machine B - receiving packet, this is PTP slave:
---------------------------------------------------------------
sudo /data/dpdk-demo01/listener/build/listener -l 2-3 -n 1 -- -p 0x1 -T 0
Questions are:
1. As we already bind the NIC via dpdk-devbind.py, how are we going to run PTP4L as background? The network interface for the NIC already disappear.
2. Did some study on PTP client sample app (https://github.com/DPDK/dpdk/tree/main/examples/ptpclient), but get confuse on do I need to integrate the ptpclient code into our application? If yes, then this is only for ptpclient, how about the ptp master side (my machine A is PTP master)?
Appreciate some direction or example.
Thanks!
Regards,
Mah
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-23 8:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-14 3:07 [dpdk-users] Running PTP (Precision Time Protocol) and running DPDK app via native PMD Mah, Yock Gen
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).