Re: [PATCH] pktgen: document 32-bit timestamp overflow

2017-11-07 Thread David Miller
From: Arnd Bergmann Date: Tue, 7 Nov 2017 11:38:32 +0100 > Timestamps in pktgen are currently retrieved using the deprecated > do_gettimeofday() function that wraps its signed 32-bit seconds in 2038 > (on 32-bit architectures) and requires a division operation to calculate > microseconds. > > T

[PATCH] pktgen: document 32-bit timestamp overflow

2017-11-07 Thread Arnd Bergmann
Timestamps in pktgen are currently retrieved using the deprecated do_gettimeofday() function that wraps its signed 32-bit seconds in 2038 (on 32-bit architectures) and requires a division operation to calculate microseconds. The pktgen header is also defined with the same limitations, hardcoding t