]> www.infradead.org Git - users/hch/dma-mapping.git/commit
ice: Fix E810 PTP reset flow
authorKarol Kolacinski <karol.kolacinski@intel.com>
Mon, 20 Dec 2021 16:58:27 +0000 (08:58 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Dec 2021 17:09:57 +0000 (09:09 -0800)
commit4809671015a1bd2e7ab811f8a998375cec10f54f
tree5a6703682d1bb153d82ab5be7ed9b701c57c69e8
parent294e70c952b494918f139670cf5a89839a2e03e6
ice: Fix E810 PTP reset flow

The PF reset does not reset PHC and PHY clocks so it's unnecessary to
stop them and reinitialize after the reset.
Configuring timestamping changes the VSI fields so it needs to be
performed after VSIs are initialized, which was not done in case of a
reset.

Suggested-by: Patrick Talbert <ptalbert@redhat.com>
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Tested-by: Pasi Vaananen <pvaanane@redhat.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_ptp.c
drivers/net/ethernet/intel/ice/ice_ptp.h