Re: hardware time stamping with extra skb->hwtstamp

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Patrick Ohly
Date: Thursday, November 27, 2008 - 8:31 am

On Thu, 2008-11-27 at 14:02 +0000, Octavian Purdila wrote:

How does the socket layer detect that the HW timestamp is available in
the larger skb data buffer, and where?


Finding the netdev is non-trivial, see David's comment about the current
hacky approach via the route. Besides, if the time stamp is in the skb
data buffer, why is the netdev still needed? Do I miss something?


Agreed in general, but there was one corner case where the tstamp field
was set for looped multicast packets.


I don't know.

-- 
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:
hardware time stamping with extra skb->hwtstamp, Patrick Ohly, (Wed Nov 19, 5:08 am)
[RFC PATCH 07/11] igb: stub support for SIOCSHWTSTAMP, Patrick Ohly, (Wed Nov 19, 5:08 am)
Re: hardware time stamping with extra skb->hwtstamp, Oliver Hartkopp, (Wed Nov 26, 11:14 pm)
Re: hardware time stamping with extra skb->hwtstamp, Patrick Ohly, (Thu Nov 27, 3:07 am)
Re: hardware time stamping with extra skb->hwtstamp, Octavian Purdila, (Thu Nov 27, 7:02 am)
Re: hardware time stamping with extra skb->hwtstamp, Patrick Ohly, (Thu Nov 27, 8:31 am)
Re: hardware time stamping with extra skb->hwtstamp, Octavian Purdila, (Thu Nov 27, 11:53 am)
Re: hardware time stamping with extra skb->hwtstamp, Oliver Hartkopp, (Thu Nov 27, 3:13 pm)
Re: hardware time stamping with extra skb->hwtstamp, Octavian Purdila, (Fri Nov 28, 5:55 am)
Re: hardware time stamping with extra skb->hwtstamp, Oliver Hartkopp, (Fri Nov 28, 8:38 am)
Re: hardware time stamping with extra skb->hwtstamp, Octavian Purdila, (Fri Nov 28, 9:00 am)
Re: hardware time stamping with extra skb->hwtstamp, Patrick Ohly, (Mon Dec 1, 3:37 am)
Re: hardware time stamping with extra skb->hwtstamp, Patrick Ohly, (Mon Dec 1, 9:31 am)
Re: hardware time stamping with extra skb->hwtstamp, Oliver Hartkopp, (Mon Dec 1, 9:45 am)