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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Wednesday, November 12, 2008 - 1:56 pm

Andi Kleen a écrit :

tstamp is the time stamp at the time NIC driver got the frame. Not the time
the NIC got the frame from the wire.

In about five years, maybe libpcap is updated to use timespec instead of timeval.


This scheme only is needed for special devices, used by PTP.

Only *selected* frames really need to gather hwtstamp.

TCP trafic wont use hwtstamp. Most UDP trafic wont use hwstamp.

I threw a "crazy idea", that can be changed if necessary, say with a cookie
that identifies the slot in NIC driver structure. O(1) lookup if really needed.

Yes, I find year 2008 not appropriate to enlarge skb with a hwstamp,
but then YMMV



--
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 ..., Eric Dumazet, (Wed Nov 12, 1:56 pm)