From: Rick Jones <rick.jones2@hp.com>
To: Octavian Purdila <opurdila@ixiacom.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>, netdev@vger.kernel.org
Subject: Re: [RFC] support for IEEE 1588
Date: Thu, 03 Jul 2008 17:15:03 -0700 [thread overview]
Message-ID: <486D6B87.9030409@hp.com> (raw)
In-Reply-To: <200807040240.04801.opurdila@ixiacom.com>
Octavian Purdila wrote:
> On Friday 04 July 2008, Stephen Hemminger wrote:
>
>
>>>1. RX path
>>>- add a new field in skb to keep the hardware stamp (hwstamp)
>>>- add a new socket flag to enable RX stamping
>>>- add a new control message to retrieve the hwstamp from the skb to
>>>user-space application (for UDP and maybe PF_PACKET)
>>
>>The existing skb timestamp is there, and if the hardware supports it, it
>>could be updated by the device driver I had a version of sky2 that did
>>just that but never fully pushed it upstream because of available time and
>>testing issues.
>>
>>The API's are already there (and used) for timestamping; don't invent
>>new ones.
>
>
> Hi Stephen,
>
> Thanks for taking the time to respond.
>
> The hardware we will be using will not have the timestamping unit synchronized
> to gettimeofday(). In this conditions, is it OK to put our hw stamp into
> skb->tstamp?
I've not had a good emily litella moment in at least a week, so I'll ask
- if the clock in the hardware generating the timestamp and the clock in
the host aren't synchronized in _some_ way, what benefit is there to
putting the hardware's timestamp in there?
rick jones
wonders the extent to which 1588 might enable one-way latency
measurements in something like netperf...
next prev parent reply other threads:[~2008-07-04 0:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 22:47 [RFC] support for IEEE 1588 Octavian Purdila
2008-07-03 23:24 ` Stephen Hemminger
2008-07-03 23:40 ` Octavian Purdila
2008-07-04 0:15 ` Rick Jones [this message]
2008-07-04 0:42 ` Octavian Purdila
2008-07-04 11:24 ` Andi Kleen
2008-07-04 13:37 ` Patrick Ohly
2008-07-05 0:21 ` Octavian Purdila
2008-07-07 12:34 ` Patrick Ohly
2008-07-09 15:31 ` Lennart Sorensen
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=486D6B87.9030409@hp.com \
--to=rick.jones2@hp.com \
--cc=netdev@vger.kernel.org \
--cc=opurdila@ixiacom.com \
--cc=shemminger@vyatta.com \
/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.