All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anatoly Sivov" <mm05@mail.ru>
To: netdev@vger.kernel.org
Subject: why does skb->tstamp use getnstimeofday?
Date: Sun, 15 Jan 2012 19:11:31 +0400	[thread overview]
Message-ID: <op.v74shh18fzo5me@stalin> (raw)

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.

             reply	other threads:[~2012-01-15 15:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-15 15:11 Anatoly Sivov [this message]
2012-01-15 16:42 ` why does skb->tstamp use getnstimeofday? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.v74shh18fzo5me@stalin \
    --to=mm05@mail.ru \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.