DPDK usage discussions
 help / color / mirror / Atom feed
* [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.



^ 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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git