idpf_ptp_get_cross_time(9)
β¨ idpf_ptp_get_cross_time β¨
okay bestie so this one's from the Kernel API Manual (kernel 9, section 9, very demure, very get cross time) and it's literally just one little function that goes and asks the hardware what time it thinks it is π°οΈβ¨
π NAME π
idpf_ptp_get_cross_time β sends the virtchnl get cross time message π
π¦ SYNOPSIS π¦
int idpf_ptp_get_cross_time (struct idpf_adapter *adapter , struct
idpf_ptp_dev_timers *cross_time );
πΈ ARGUMENTS πΈ
adapterβ the driver-specific private structure, aka the little home base for this driver πcross_timeβ pointer to the device clock structure, and that's exactly where the value gets set π«Ά
π₯ DESCRIPTION π₯
so basically what happens is: it sends the virtchnl get cross time message, and that message's whole job is to grab the time of the clock and the system time. two times. one message. iconic behavior honestly π
β RETURN β
0 on success, -errno otherwise. that's it, that's the whole vibe check π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/idpf/idpf_virtchnl_ptp.c (go read it, iykyk), plus the whole ptp friend group:
idpf_ptp_get_caps(9)idpf_ptp_get_dev_clk_time(9)idpf_ptp_set_dev_clk_time(9)idpf_ptp_adj_dev_clk_time(9)idpf_ptp_adj_dev_clk_fine(9)idpf_ptp_get_vport_tstamps_caps(9)idpf_ptp_update_tstamp_tracker(9)idpf_ptp_get_tstamp_value(9)idpf_ptp_get_tx_tstamp_async_handler(9)idpf_ptp_get_tx_tstamp(9)
and that's the page, bestie π§π brought to you by the source/version at ./drivers/net/ethernet/intel/idpf, dated October 2026 β no cap, see u in the next manpage πππ¦
π¦ 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