]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: add support for software timestamps
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 5 Oct 2018 16:33:55 +0000 (09:33 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Nov 2018 17:47:00 +0000 (09:47 -0800)
commitc624a4f43b0b64d251c7a1d34d68e9d1685a974f
tree2227f97b3933c4b8547331fe4c30f8c2f9db60f2
parent6773908a760912d526e20c665b51e8e3fcd894b3
ixgbevf: add support for software timestamps

Add a call to skb_tx_timestamp in the ixgbevf_tx_map function. This
enables software timestamping for packets sent over this device driver.
The call is placed just prior to when we notify hardware of the new
packet, in order to software timestamp as close as possible to when the
hardware will transmit.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c