]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: PTP Fix hwtstamp mode settings
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 22 May 2012 06:08:37 +0000 (06:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Jun 2012 10:13:22 +0000 (03:13 -0700)
commit63a228f9b5d195cf6db0b9e885c63bf89d49a7c8
tree3e03a105f9134db1cb2151f4ba6c704b1bf5bd5c
parent0977b3c3956174415b0ef64c893ac6c89b299b2e
ixgbe: PTP Fix hwtstamp mode settings

When enabling the hwtstamp mode for Rx timestamping the V2 ptp event type
specific modes (Delay Request and Sync) have been rolled into the V2 all event
packet modes, in order to more accurately represent what hardware is doing.
Hardware always timestamps the Path delay packets when a V2 mode is selected,
regardless of what type was selected (in order to always support Path delay
mode). However this means the user selected modes of timestamping only Sync or
Delay Request is not truly supported. This patch correctly sets the mode for
the hwtstamp config and returns to the user that all V2 event packets will be
timestamped.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c