Re: [Linuxptp-users] Is there any interface between ptp driver and linuxptp for controlling the ptp
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2012-03-14 18:56:08
|
On Wed, Mar 14, 2012 at 07:26:42PM +0900, Takahiro Shimizu wrote: > Hello, > > I get IEEE1588-2008 specification. > My understanding about your saying is; > 1. "HWTSTAMP_FILTER_PTP_V2_L4_EVENT SA = 01:00:5e:00:01:81" means > "PTP-primary All except peer delay mechanism messages 224.0.1.129" in Table > D.1 IPv4 multicast addresses in the standard. Yes. > 2. "HWTSTAMP_FILTER_PTP_V2_L2_EVENT SA = 01:1b:19:00:00:00" means "All > except peer delay mechanism messages 01-1B-19-00-00-00" in Table F.1 > Multicast MAC addresses in the standard. Yes. > 3. HWTSTAMP_FILTER_PTP_V2_EVENT means supports L2 event and L4 event at the > same time. This means we should support both addresses in Table D.1 or F.1 > at the same time. Yes. > 4. "How can you support the peer delay mechanism?" means we should support > "PTP-primary All except peer delay mechanism messages 224.0.1.129" and > "PTP-pdelay Peer delay mechanism messages 224.0.0.107" or "All except peer > delay mechanism messages 01-1B-19-00-00-00" and "Peer delay mechanism > messages 01-80-C2-00-00-0E". > Is my understanding correct? Yes, that is correct. In order to support the peer-to-peer (P2P) mechanism, you need to accept Ethernet packets with two different destination MAC addresses. The ptp4l does not yet implement P2P, but I will add this eventually. Richard |