linux_dsm_epyc7002/drivers/net/ethernet/netronome
Arnd Bergmann 51bef926be nfp: avoid using getnstimeofday64()
getnstimeofday64 is deprecated in favor of the ktime_get() family of
functions. The direct replacement would be ktime_get_real_ts64(),
but I'm picking the basic ktime_get() instead:

- using a ktime_t simplifies the code compared to timespec64
- using monotonic time instead of real time avoids issues caused
  by a concurrent settimeofday() or during a leap second adjustment.

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-12 14:55:39 -07:00
..
nfp nfp: avoid using getnstimeofday64() 2018-07-12 14:55:39 -07:00
Kconfig nfp: abm: add initial active buffer management NIC skeleton 2018-05-23 14:26:18 -04:00
Makefile nfp: rename the driver and add new main file 2017-02-10 15:52:24 -05:00