netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* why does skb->tstamp use getnstimeofday?
@ 2012-01-15 15:11 Anatoly Sivov
  2012-01-15 16:42 ` Eric Dumazet
  0 siblings, 1 reply; 7+ messages in thread
From: Anatoly Sivov @ 2012-01-15 15:11 UTC (permalink / raw)
  To: netdev

Hello everyone.

struct sk_buff has a field tstamp, which is used for high resolution rtt  
calculation.
All operations with this field are done directly or indirectly via ktime_*  
interface,
which uses getnstimeofday function.
My question is why does skb->tstamp use getnstimeofday?
Isn't it better to use getrawmonotonic, where we are not inetrfered with  
ntp,  for rtt calculation?

Thank you.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-16 22:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 15:11 why does skb->tstamp use getnstimeofday? Anatoly Sivov
2012-01-15 16:42 ` Eric Dumazet
2012-01-15 17:55   ` Anatoly Sivov
2012-01-15 18:00     ` Anatoly Sivov
2012-01-15 18:56     ` Eric Dumazet
2012-01-15 19:55       ` Anatoly Sivov
2012-01-16 22:05     ` Rick Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).