netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Lutomirski <luto@amacapital.net>
To: Richard Cochran <richardcochran@gmail.com>
Cc: Network Development <netdev@vger.kernel.org>
Subject: Re: What is SOF_TIMESTAMPING_RX_HARDWARE?
Date: Tue, 4 Mar 2014 09:45:08 -0800	[thread overview]
Message-ID: <CALCETrWZ8kBFDMmUAjKrwndLWEo70OQv3rFSTXdLOyMGy-095Q@mail.gmail.com> (raw)
In-Reply-To: <20140304174200.GB4279@netboy>

On Tue, Mar 4, 2014 at 9:42 AM, Richard Cochran
<richardcochran@gmail.com> wrote:
> On Tue, Mar 04, 2014 at 09:21:47AM -0800, Andy Lutomirski wrote:
>>
>> In theory, the driver could stop reporting timestamps if
>> SOF_TIMESTAMPING_RAW_HARDWARE: and SOF_TIMESTAMPING_SYS_HARDWARE
>> aren't set.  I don't see why SOF_TIMESTAMPING_RX_HARDWARE would make
>> any sense in this context.
>
> AFAICT, the intent was that the former are handled by the stack, while
> the latter is handled by the driver.

I suspect that any attempt to implement this will break userspace --
there must be programs my now (like mine!) that set
SOF_TIMESTAMPING_SYS_HARDWARE but not SOF_TIMESTAMPING_RX_HARDWARE.

I'll write a documentation patch.

--Andy

      reply	other threads:[~2014-03-04 18:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  2:20 What is SOF_TIMESTAMPING_RX_HARDWARE? Andy Lutomirski
2014-03-04 10:10 ` Richard Cochran
2014-03-04 17:21   ` Andy Lutomirski
2014-03-04 17:38     ` Richard Cochran
2014-03-04 17:42     ` Richard Cochran
2014-03-04 17:45       ` Andy Lutomirski [this message]

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=CALCETrWZ8kBFDMmUAjKrwndLWEo70OQv3rFSTXdLOyMGy-095Q@mail.gmail.com \
    --to=luto@amacapital.net \
    --cc=netdev@vger.kernel.org \
    --cc=richardcochran@gmail.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 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).