iavf_ptp_cache_phc_time(9)
π NAME π
iavf_ptp_cache_phc_time β Cache PHC time for performing timestamp extension
Okay bestie, welcome to the Kernel API Manual page for this function. Itβs giving niche kernel fairy godmother, and weβre obsessed. π
β¨ SYNOPSIS β¨
void iavf_ptp_cache_phc_time (struct iavf_adapter *adapter );
π¦ ARGUMENTS π¦
adapterβ the private adapter structure. Thatβs the whole vibe. π«Ά
π DESCRIPTION π
Okay so this function periodically caches the PHC time so timestamp extension can actually happen. This is required, no cap: the Tx and Rx timestamps only contain 32bits of nanoseconds, and timestamp extension is how we calculate the corrected 64bit timestamp. The algorithm literally relies on the cached time being within ~1 second of the timestamp. β±οΈβ¨
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/iavf/iavf_ptp.c iavf_ptp_disable_rx_tstamp(9)iavf_ptp_enable_rx_tstamp(9)iavf_ptp_set_timestamp_mode(9)iavf_ptp_set_ts_config(9)iavf_ptp_cap_supported(9)iavf_allocate_ptp_cmd(9)iavf_queue_ptp_cmd(9)iavf_send_phc_read(9)iavf_read_phc_indirect(9)iavf_ptp_do_aux_work(9)iavf_ptp_register_clock(9)iavf_ptp_init(9)iavf_ptp_release(9)iavf_ptp_process_caps(9)iavf_ptp_extend_32b_timestamp(9)
Catch you later, bestie π
β source/version: ./drivers/net/ethernet/intel/iavf, date: October 2026, page: iavf_ptp_cache_phc_time(9) β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms