Hi Richard: Thanks you very much, that help me a lot . there is a doubt need to be sure: MY HW doesn't support Sync and Delay_req at the same time. But it could be changed with setting ptp event id by register. Does it help ?
PTP Message ID Register Description PTP Message ID This field determines the PTP MessageID (or PTP Control for V1) field in the incoming PTP Packets to be selected for Timestamping. The software can use this field to timestamp either the SYNC or DELAY_REQ Packets based on whether the Device is Slave or Master respectively ----------------------------------- Best Regards Meitao Gao ------------------------------------ -----邮件原件----- 发件人: Richard Cochran [mailto:richardcoch...@gmail.com] 发送时间: 2021年5月7日 21:37 收件人: Gao Meitao(高玫涛) <meitao...@asrmicro.com> 抄送: linuxptp-users@lists.sourceforge.net 主题: Re: [Linuxptp-users] HWSTAMP RX filter type On Fri, May 07, 2021 at 04:39:07AM +0000, Gao Meitao(高玫涛) wrote: > Hardware Receive Filter Modes: > none (HWTSTAMP_FILTER_NONE) > ptpv1-l4-sync (HWTSTAMP_FILTER_PTP_V1_L4_SYNC) > ptpv1-l4-delay-req (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) > ptpv2-l4-sync (HWTSTAMP_FILTER_PTP_V2_L4_SYNC) > ptpv2-l4-delay-req (HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) > ptpv2-sync (HWTSTAMP_FILTER_PTP_V2_SYNC) > ptpv2-delay-req (HWTSTAMP_FILTER_PTP_V2_DELAY_REQ) To be useful, the HW + driver must support Sync and Delay_req at the same time. > My ethernet driver only support specific PTP EVENT ,like SYNC or DELAY_REQ. > and couldn’t support any kinds of event for PTP. > so does linuxptp support this kind of ethernet ptp ? No. And you can't get very far with only Sync, for example. > or anyone who could give a piece of advice about how to enable ptp for this > kind of driver? Talk to your HW developers, and tell them to fix their stuff. Thanks, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users