Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Willem de Bruijn
On Wed, Nov 29, 2017 at 8:39 PM, Willem de Bruijn wrote: > On Wed, Nov 29, 2017 at 3:06 PM, Arnd Bergmann wrote: >> On Wed, Nov 29, 2017 at 5:51 PM, Willem de Bruijn >> wrote: Thanks for the review! Any suggestions for how to do the testing? If you have existing test cases, could

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Willem de Bruijn
On Wed, Nov 29, 2017 at 3:06 PM, Arnd Bergmann wrote: > On Wed, Nov 29, 2017 at 5:51 PM, Willem de Bruijn > wrote: >>> Thanks for the review! Any suggestions for how to do the testing? If you >>> have >>> existing test cases, could you give my next version a test run to see if >>> there >>> are

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Arnd Bergmann
On Wed, Nov 29, 2017 at 5:51 PM, Willem de Bruijn wrote: >> Thanks for the review! Any suggestions for how to do the testing? If you have >> existing test cases, could you give my next version a test run to see if >> there >> are any regressions and if the timestamps work as expected? >> >> I see

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Willem de Bruijn
> Thanks for the review! Any suggestions for how to do the testing? If you have > existing test cases, could you give my next version a test run to see if there > are any regressions and if the timestamps work as expected? > > I see that there are test cases in tools/testing/selftests/net/, but non

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-29 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 11:28 PM, Willem de Bruijn wrote: > On Tue, Nov 28, 2017 at 3:32 PM, Arnd Bergmann wrote: >> As I noticed in my previous patch to remove the 'timespec' usage in >> the packet socket, the timestamps in the packet socket are slightly >> inefficient as they convert a nanoseco

Re: [PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-28 Thread Willem de Bruijn
On Tue, Nov 28, 2017 at 3:32 PM, Arnd Bergmann wrote: > As I noticed in my previous patch to remove the 'timespec' usage in > the packet socket, the timestamps in the packet socket are slightly > inefficient as they convert a nanosecond value into seconds/nanoseconds > or seconds/microseconds. > >

[PATCH] [RFC v3] packet: experimental support for 64-bit timestamps

2017-11-28 Thread Arnd Bergmann
As I noticed in my previous patch to remove the 'timespec' usage in the packet socket, the timestamps in the packet socket are slightly inefficient as they convert a nanosecond value into seconds/nanoseconds or seconds/microseconds. This adds two new socket options for the timestamp to resolve tha