OSDN Git Service

ice: re-arrange some static functions in ice_ptp.c
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 27 Jul 2022 23:16:01 +0000 (16:16 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 16 Aug 2022 16:04:38 +0000 (09:04 -0700)
commit4b1251bdd18886ce51741d68e4e4f3f4c6982153
tree51018f8c830a78c5e0c53ac81f410f6d6c0c3ec0
parentcd25507a31e18321644833eab0e739cc74eba3b5
ice: re-arrange some static functions in ice_ptp.c

A following change is going to want to make use of ice_ptp_flush_tx_tracker
earlier in the ice_ptp.c file. To make this work, move the Tx timestamp
tracking functions higher up in the file, and pull the
ice_ptp_update_cached_timestamp function below them. This should have no
functional change.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ptp.c