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-15 07:00:20
|
Hello, Yes, I agree. This makes sense as a workaround for testing. > But I think we should do the following to be correct. > > driver: > > switch (rx_filter) { > case HWTSTAMP_FILTER_PTP_V2_EVENT: > return ERANGE; > case HWTSTAMP_FILTER_PTP_V2_L4_EVENT: > SA = 01:00:5e:00:01:81; > case HWTSTAMP_FILTER_PTP_V2_L2_EVENT: > SA = 01:1b:19:00:00:00; > } > > I see. I will do like the above in the next patch. > Also, the driver's Kconfig needs a statment that the hardware only > supports the end-to-end mechanism and that the peer-to-peer > mechanism is not supported. > > OK. > ptp4l: > > try (HWTSTAMP_FILTER_PTP_V2_EVENT); > if (errno == ERANGE) { > if (transport_is_L2) > try (HWTSTAMP_FILTER_PTP_V2_L2_EVENT); > else > try (HWTSTAMP_FILTER_PTP_V2_L4_EVENT); > } > > Thank you very much. > I will work on the ptp4l code. Can you please fix the driver? > > BTW David Miller already applied your first driver patches. So, you > should submit any changes as patches on top of that. > > I see. I will send the new patch in V.3.4-rc? window. Thanks and Best regards, Takahiro Shimizu |