linux_dsm_epyc7002/drivers/net/ethernet/intel/igc
Jacob Keller 6acab13bdf igb/igc: use ktime accessors for skb->tstamp
When implementing launch time support in the igb and igc drivers, the
skb->tstamp value is assumed to be a s64, but it's declared as a ktime_t
value.

Although ktime_t is typedef'd to s64 it wasn't always, and the kernel
provides accessors for ktime_t values.

Use the ktime_to_timespec64 and ktime_set accessors instead of directly
assuming that the variable is always an s64.

This improves portability if the code is ever moved to another kernel
version, or if the definition of ktime_t ever changes again in the
future.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-11-08 16:10:51 -08:00
..
igc_base.c igc: Add more SKUs for i225 device 2019-07-24 13:55:09 -07:00
igc_base.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_defines.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
igc_ethtool.c igc: Remove unneeded hw_dbg prints 2019-03-19 15:21:21 -07:00
igc_hw.h igc: Add more SKUs for i225 device 2019-07-24 13:55:09 -07:00
igc_i225.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_i225.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_mac.c igc: Remove useless forward declaration 2019-09-09 10:08:38 -07:00
igc_mac.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_main.c igb/igc: use ktime accessors for skb->tstamp 2019-11-08 16:10:51 -08:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Remove useless forward declaration 2019-09-09 10:08:38 -07:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_regs.h igc: Extend the ethtool supporting 2019-03-19 14:45:23 -07:00
igc.h igc: Add tx_csum offload functionality 2019-09-09 11:37:14 -07:00
Makefile igc: Add ethtool support 2019-02-05 17:35:46 -08:00