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

2017-11-28 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 3:08 PM, Willem de Bruijn wrote: > On Tue, Nov 28, 2017 at 3:46 AM, Arnd Bergmann wrote: >> On Tue, Nov 28, 2017 at 8:04 AM, Björn Töpel wrote: >>> 2017-11-27 21:51 GMT+01:00 Arnd Bergmann : >>> [...] > There already is an effort to come up with a new AF_PACKET V4 [1]

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

2017-11-28 Thread Willem de Bruijn
On Tue, Nov 28, 2017 at 3:46 AM, Arnd Bergmann wrote: > On Tue, Nov 28, 2017 at 8:04 AM, Björn Töpel wrote: >> 2017-11-27 21:51 GMT+01:00 Arnd Bergmann : >> [...] There already is an effort to come up with a new AF_PACKET V4 [1]. We should make sure that any new interface does not have

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

2017-11-28 Thread Arnd Bergmann
On Tue, Nov 28, 2017 at 8:04 AM, Björn Töpel wrote: > 2017-11-27 21:51 GMT+01:00 Arnd Bergmann : > [...] >>> There already is an effort to come up with a new AF_PACKET V4 [1]. >>> We should make sure that any new interface does not have the >>> Y2038/Y2106 issue. But, if a new version is being dev

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

2017-11-27 Thread Björn Töpel
2017-11-27 21:51 GMT+01:00 Arnd Bergmann : [...] >> There already is an effort to come up with a new AF_PACKET V4 [1]. >> We should make sure that any new interface does not have the >> Y2038/Y2106 issue. But, if a new version is being developed and >> that subsumes all existing use cases, then the

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

2017-11-27 Thread Arnd Bergmann
On Mon, Nov 27, 2017 at 9:35 PM, Willem de Bruijn wrote: > On Mon, Nov 27, 2017 at 11:59 AM, Jiri Pirko wrote: >> Mon, Nov 27, 2017 at 05:19:25PM CET, a...@arndb.de wrote: >>>I tried to figure out what it would take to do a version 4 mmap packet >>>socket interface to completely avoid the y2106 o

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

2017-11-27 Thread Willem de Bruijn
On Mon, Nov 27, 2017 at 11:59 AM, Jiri Pirko wrote: > Mon, Nov 27, 2017 at 05:19:25PM CET, a...@arndb.de wrote: >>I tried to figure out what it would take to do a version 4 mmap packet >>socket interface to completely avoid the y2106 overflow problem. This is >>what I came up with, reusing most of

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

2017-11-27 Thread Jiri Pirko
Mon, Nov 27, 2017 at 05:19:25PM CET, a...@arndb.de wrote: >I tried to figure out what it would take to do a version 4 mmap packet >socket interface to completely avoid the y2106 overflow problem. This is >what I came up with, reusing most of the v3 code, except for the parts >where we access the ti

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

2017-11-27 Thread Arnd Bergmann
I tried to figure out what it would take to do a version 4 mmap packet socket interface to completely avoid the y2106 overflow problem. This is what I came up with, reusing most of the v3 code, except for the parts where we access the timestamps. For kselftest, I'm adding support for testing v4 in