Re: [PATCH net-next 7/8] sock: enable timestamping using control messages

2016-03-30 Thread Willem de Bruijn
On Wed, Mar 30, 2016 at 6:37 PM, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > Currently, SOL_TIMESTAMPING can only be enabled using setsockopt. > This is very costly when users want to sample writes to gather > tx timestamps. > > Add

[PATCH net-next 7/8] sock: enable timestamping using control messages

2016-03-30 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh Currently, SOL_TIMESTAMPING can only be enabled using setsockopt. This is very costly when users want to sample writes to gather tx timestamps. Add support for enabling SO_TIMESTAMPING via control messages by using tsflags added in `struct