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:47:56
|
On Wed, Mar 14, 2012 at 05:26:18PM +0900, Takahiro Shimizu wrote: > Yes, I agree. You will have to live with a work around. Your hardware > > really cannot support IEEE Std 1588-2008. For peer delay mechanism via > > L2, you must accept two *different* MAC addresses. > > > > Your driver will have to program the correct multicast MAC address > > based on the SIOCSHWTSTAMP ioctl. Your driver can only support certain > > values for rx_filter: > > > > HWTSTAMP_FILTER_PTP_V2_L4_EVENT SA = 01:00:5e:00:01:81 (E2E mechanism > > only) > > HWTSTAMP_FILTER_PTP_V2_L2_EVENT SA = 01:1b:19:00:00:00 (E2E mechanism > > only) > > HWTSTAMP_FILTER_PTP_V2_EVENT not supported! > > > > > I have some question. > 1. If SA means Distination MAC address (Station Address register 1-6), > could you tell me the usage of the above ioctl? Sorry for the confusion. I meant SA = Station Address. > Now linuxptp uses HWTSTAMP_FILTER_PTP_V2_EVENT. If I implement the driver > like the above, I modify the linuxptp using HWTSTAMP_FILTER_PTP_V2_L4_EVENT > or HWTSTAMP_FILTER_PTP_V2_L2_EVENT and test them? Yes that is right. > I can accept two *different * Source MAC address for Rx message. I can not > accept two *different* Destination MAC address for RX message. Yes, and that is why the hardware will not fully support PTPv2. Richard |