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: Takahiro S. <tsh...@gm...> - 2012-03-14 08:26:27
|
Hello, Thank you very much for the response. 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? 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? 2. Or you mean that SA is source address? If so, my hardware does not filter about source address. It filter only Destination address using Station Address registers1-6. I can accept two *different * Source MAC address for Rx message. I can not accept two *different* Destination MAC address for RX message. Thanks and Best regards, Takahiro Shimizu |