Thread (43 messages) flat view 43 messages, 8 authors, 2018-02-13

Re: [Intel-wired-lan] [RFC v2 net-next 01/10] net: Add a new socket option for a future transmit time.

From: Jesus Sanchez-Palencia <hidden>
Date: 2018-02-01 00:51:22
Also in: intel-wired-lan

Hi,


On 01/18/2018 09:13 AM, Richard Cochran wrote:
On Thu, Jan 18, 2018 at 09:42:27AM +0100, Miroslav Lichvar wrote:
quoted
In the discussion about the v1 patchset, there was a question if the
cmsg should include a clockid_t. Without that, how can an application
prevent the packet from being sent using an incorrect clock, e.g.
the system clock when it expects it to be a PHC, or a different PHC
when the socket is not bound to a specific interface?
Right, the clockid_t should be passed in through the CMSG along with
the time.
While implementing this today it crossed my mind that why don't we have the
clockid_t set per socket (e.g. as an argument to SO_TXTIME) instead of per packet?

The only use-case that we could think of that would be 'blocked' was using
sendmmsg() to send a packet to different interfaces with a single syscall, but
I'm not sure how common that is.

What do you think?

Thanks,
Jesus

 
Thanks,
Richard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help