[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACSApvYsn54hBZ7+vwM+TKjdBecTF9HLOj_LxXeb5vfF5EK8yA@mail.gmail.com>
Date: Wed, 8 Feb 2017 06:18:02 -0800
From: Soheil Hassas Yeganeh <soheil@...gle.com>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc: "Keller, Jacob E" <jacob.e.keller@...el.com>,
Miroslav Lichvar <mlichvar@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Richard Cochran <richardcochran@...il.com>,
Jiri Benc <jbenc@...hat.com>, Denny Page <dennypage@...com>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: Extending socket timestamping API for NTP
On Tue, Feb 7, 2017 at 2:32 PM, Willem de Bruijn
<willemdebruijn.kernel@...il.com> wrote:
>>> 2) new SO_TIMESTAMPING option to receive from the error queue only
>>> user data as was passed to sendmsg() instead of Ethernet frames
>>>
>>> Parsing Ethernet and IP headers (especially IPv6 options) is not
>>> fun and SOF_TIMESTAMPING_OPT_ID is not always practical, e.g. in
>>> applications which process messages from the error queue
>>> asynchronously and don't bind/connect their sockets.
>>
>> This would be useful for application writing.
>
> What kind of user data are you suggesting? Just a user-defined ID
> passed as a cmsg? Allowing such metadata to override
> skb_shinfo(skb)->tskey sounds fine.
Yes, exactly. Just a user-defined ID that overrides the
skb_shinfo(skb)->tskey.
Thanks,
Soheil
Powered by blists - more mailing lists