]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: report the receive timestamp in FM10K_CB(skb)->tstamp
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 18 Nov 2016 17:45:38 +0000 (09:45 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 8 Jan 2017 09:42:36 +0000 (01:42 -0800)
commit8db8b15b6dcaa85533daf22ae5b26725e0b5aed2
tree498080d3f66a30cf68c66945e0146bb35d3b890d
parent8e0d53047ae7b598c77f56fa202f3bc2d73978e9
fm10k: report the receive timestamp in FM10K_CB(skb)->tstamp

This was accidentally removed when we defeatured the full 1588 Clock
support. We need to report the Rx descriptor timestamp value so that
applications built on top of the IES API can function properly.

Additionally, remove the FM10K_FLAG_RX_TS_ENABLED, as it is not used now
that 1588 functionality has been removed.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_main.c