]> 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)
commit3e28ea9891f3e54a99b0bc65a4a5f59ab6e6a4f2
tree86e1661b809bb1ccc204ae6908dd50913edb9060
parentc763be475b307216daa6634b02831c1cd8bdcb8d
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