iavf_ptp_register_clock(9)
π
iavf_ptp_register_clock (9) β Kernel API Manual β¨
okay bestie, so this one lives in the Kernel API Manual and it's literally the glow-up moment for a PTP clock. let's get into it π«Ά
πΈ NAME πΈ
iavf_ptp_register_clock β register a brand new PTP for userspace π
β¨ SYNOPSIS β¨
int iavf_ptp_register_clock (struct iavf_adapter *adapter );
π ARGUMENTS π
adapterβ the private adapter structure. that's the main character right there π
π¦ DESCRIPTION π¦
so the whole vibe here is: allocate and register a new PTP clock device if necessary. that's it, that's the assignment. it checks whether we need one, and if we do β slay, it goes and makes it happen β¨
ngl "if necessary" is doing a lot of work in that sentence, but that's exactly what it says, no cap.
π RETURN π
0 if success π β error otherwise π
π 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_cache_phc_time(9)iavf_ptp_do_aux_work(9)iavf_ptp_init(9)iavf_ptp_release(9)iavf_ptp_process_caps(9)iavf_ptp_extend_32b_timestamp(9)
fr fr that's the whole friend group β go read them all, iykyk π
and that's a wrap, bestie π§ this lil page came from ./drivers/net/ethernet/intel/iavf and it's dated October 2026 β iconic, no notes π
π¦ 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