Re: [RFC PATCH 00/13] hardware time stamping + igb example implementation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick Ohly
Date: Wednesday, November 12, 2008 - 9:25 am

On Wed, 2008-11-12 at 16:06 +0000, Andi Kleen wrote:

I'm all for it, as long as it doesn't keep this feature out of the
mainline.

At least one additional ktime_t field would be needed for the raw
hardware time stamp. Transformation to system time (as needed by PTP)
would have to be delayed until the packet is delivered via a socket. The
code would be easier (and a bit more accurate) if also another ktime_t
was added to store the transformed value directly after generating it.

An extra field would also solve one of the open problems (tstamp set to
time stamp when dev_start_xmit_hard is called for IP_MULTICAST_LOOP).

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 08/13] igb: stub support for SIOCSHWTSTAMP, Patrick Ohly, (Fri Oct 31, 5:21 am)
Re: [RFC PATCH 00/13] hardware time stamping + igb example ..., Patrick Ohly, (Wed Nov 12, 9:25 am)