]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: allow ixgbe_ptp_reset to maintain current hwtstamp config
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 16 May 2014 05:12:26 +0000 (05:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 27 May 2014 06:53:10 +0000 (23:53 -0700)
commit1f03e5c8bf009df009479179a1d11f888e31189b
tree86e1661b809bb1ccc204ae6908dd50913edb9060
parentf0e554db48a42555eaf47844c72a168bf3f969c1
ixgbe: allow ixgbe_ptp_reset to maintain current hwtstamp config

Rather than clearing the hwtstamp configuration, we should use the known
configuration requested by the user and call the function which has now
been separated from the ioctl. This means that after a reset, the
timestamp mode will be maintained rather than lost. We still can't
maintain the clock value, however.

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