Thread (32 messages) 32 messages, 4 authors, 2012-05-15

Re: [net-next 06/12] ixgbe: Hardware Timestamping + PTP Hardware Clock (PHC)

flat view

From: Richard Cochran <richardcochran@gmail.com>
Date: 2012-05-12 05:24:19

On Fri, May 11, 2012 at 07:34:12PM +0000, Keller, Jacob E wrote:
Sorry for the spam here, but I looked at the ixgbe code, and found a
solution. When ptp4l discovers a missing rx timestamp, it faults and
then waits for 15 seconds until the fault is cleared. After this, it
reopens the socket, and reruns the hwtstamp ioctl. This function
actually does clear the tx/rx timestamps (just in case) So after a
fault the values should end up being reset. Is this good enough?
Yes, for ptp4l, that will work, but this program is acting extremely
defensively in that situation. Not every user space program will
necessarily behave in the same way. The classic ptpd just ignores
packets with missing time stamps, IRRC.

Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help